MOTA ĐApp Framework ₡ore (SvelteKit, Core Blockchain, multi-chain).
- SvelteKit + MOTA stack
- Addon CLI:
npx addon <repo> <generator> <action> - Hidden addon control files supported:
prompt.js,_scripts.ejs.sh/_scripts.sh,_config.ejs.json5/_config.json5 - i18n – typesafe-i18n (see Translations)
- Template –
https://github.com/bchainhub/mota-dapp .editorconfig
npm install
npm run devInstall an addon:
npx addon <repo> <generator> <action>Examples:
npx addon bchainhub@mota-addon-support support install
npx addon owner/repo name-of-addon uninstall
npx addon owner/repo name-of-addon install --cache
npx addon owner/repo name-of-addon install --dry-runAddon action folders can contain:
<generator>/<action>/
prompt.js
*.ejs.t
_scripts.ejs.sh
_scripts.sh
_config.ejs.json5
_config.json5
prompt.jscollects answers once and those values are reused in templates, scripts, and config.*.ejs.tare normal Hygen templates and are copied/generated into the project._scripts*files are rendered/executed automatically and are never copied._config*files are rendered/applied automatically and are never copied._config*currently targets themodulesblock invite.config.ts.
i18n is provided by typesafe-i18n.
npm run i18n:extract– extract strings from the projectnpm run i18n:watch– watch and update translations
CORE. See LICENSE in the repo root.