Add Makefile, reorganize scripts, and fix Rhai contract_call API #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "master-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
This PR restructures the HERO Near project for better organization and developer experience, adds comprehensive build automation via Makefile, and fixes the Rhai
contract_call()API to enable full system testing.Changes
🏗️ Build Automation - New Makefile
Added a comprehensive Makefile with 15+ targets for building, testing, and deployment:
📁 Scripts Reorganization
Restructured scripts directory for clarity:
🔧 Rhai API Improvements
contract_call()function for fluent contract interactionsset_contract()method for flexible builder patternset_deposit_str()for large yoctoNEAR values (avoids i64 overflow)🧪 Test Fixes
get_threshold→get_required_confirmationskv_set/kv_get→set/get/exists📚 Documentation Updates
Test Results
Feature Coverage:
Files Changed
Breaking Changes
None - all existing functionality preserved.
How to Test
Next Steps