General purpose vesting smart contract written in ink!
- Rust
rustup component add rust-src && cargo install --force --locked cargo-contract
Navigate to the vesting contract directory
cd vesting
and then compile the contract.
cargo contract build
- Build artifacts will be located in
target/ink
directory. - Use
vesting.contract
file to deploy the contract. - See code comments for detials on how each public function works.
This smart contract should be audited before deploying to mainnet.