The ERA contract is a decentralized solution for managing funds deposited by approved entities among a group of independent members who have predefined, fixed share levels. The funds deposited into the contract are automatically split according to the share ratios of the members. The contract ensures that only depositors approved by all members can deposit funds.
This contract is end-to-end tested using flextesa.
- Compile the contract by running the
ami compile
command. - Start the local Tezos sandbox by running the
ami sandbox start
command. - Deploy the contract to the sandbox environment using the
ami deploy sandbox
command. - Run
ami test-js
src/
contains the source code for the contract.web/
contains the files for the web interface of the contract