Skip to content

Releases: root28root/move-projects

v0.2.0

21 Sep 17:06
024f709
Compare
Choose a tag to compare

v0.2.0 — Vesting + PaySplit; docs; CI hardening
See CHANGELOG.md for details.

Full Changelog: v0.1.0...v0.2.0

EN — Release notes:

Vesting + PaySplit; docs; CI hardening

What’s new

Vesting — linear token vesting with on-chain claimed accounting (3 tests).

PaySplit — proportional revenue splitter with remainder to fees (3 tests).

Infra

Hardened CI: resilient Aptos CLI installer with retries and code sanity checks.

Repo-wide ./tools/check.sh builds & tests all packages.

Devnet

Vesting publish (pkg): 0x225b149b3f...5278

Vesting demo (entry): 0xc74e87de5f...b4f8

Quick start

locally

./tools/check.sh

Vesting: publish → init → demo

cd vesting
aptos move publish --assume-yes
aptos move run --function-id ::vesting::init
aptos move run --function-id ::vesting::entry_demo

Verify via REST
REST="https://fullnode.devnet.aptoslabs.com"
PKG=
curl -s "$REST/v1/accounts/$PKG/resource/$PKG::vesting::State" | jq -r
'.data.schedules[] | {beneficiary,total,start,end,claimed}'

Hire
Discord: @rootmhz_ • TG: @Nikolai_Rootmhz • Email: 007rootmhz@gmail.com

Hire via GitHub issue form


RU — Release notes:
Vesting + PaySplit; docs; CI hardening

Новое

Vesting — линейный вестинг с учётом накопленных клеймов (3 теста).

PaySplit — пропорциональный сплит доходов с остатком в fees (3 теста).

Инфраструктура

Укрепили CI: стабильная установка Aptos CLI с ретраями, sanity-чек кода.

Репозиторный чек-скрипт ./tools/check.sh гоняет сборку и тесты по всем пакетам.

Devnet

Vesting publish (pkg): 0x225b149b3f...5278

Vesting demo (entry): 0xc74e87de5f...b4f8

Быстрый старт

локально

./tools/check.sh

Vesting: publish → init → demo

cd vesting
aptos move publish --assume-yes
aptos move run --function-id ::vesting::init
aptos move run --function-id ::vesting::entry_demo

Проверка через REST
REST="https://fullnode.devnet.aptoslabs.com"
PKG=<ваш пакет>
curl -s "$REST/v1/accounts/$PKG/resource/$PKG::vesting::State" | jq -r
'.data.schedules[] | {beneficiary,total,start,end,claimed}'

Контакты
Discord: @rootmhz_ • TG: @Nikolai_Rootmhz • Email: 007rootmhz@gmail.com

Hire: GitHub issue form