Статическая v3-версия DPoS-инструментов для Golos, VIZ, Steem, Hive, Minter и Decimal.
Запускайте из корня репозитория через обычный HTTP-сервер, не через file://:
python3 -m http.server 8080Откройте:
http://127.0.0.1:8080/
Альтернатива через Node.js:
npx serve . -l 8080index.html— статическая точка входа.v3/css/style.css— стили.v3/js/*.js— SPA, роутинг, профили, история, auth и broadcast helpers.v3/vendor/<chain>/— минимальный набор browser-библиотек, которые нужны v3 в runtime.tests/*.js— smoke-проверки v3.favicon.ico,LICENSE,plan.md— сопутствующие файлы.
PHP/backend runtime старой версии в ветке v3 больше не требуется.
node --check v3/js/*.js
node --check tests/*.js
for test in tests/*.js; do node "$test"; done
git diff --checkДля ручной проверки статической раздачи:
python3 -m http.server 8080
curl -I http://127.0.0.1:8080/
curl -I http://127.0.0.1:8080/favicon.ico
curl -I http://127.0.0.1:8080/v3/js/app.js
curl -I http://127.0.0.1:8080/v3/js/chains.js
curl -I http://127.0.0.1:8080/v3/css/style.css