Create wasm target and test actors to be tested with Kythera. This project contains the necessary logic to build actors for our Kythera toolset.
It was heavily inspired and copied from the implementation over the ref-fvm
done by @fridrik01.
Clone this repository and look into the actors and tests dirs for examples on how to create both Target
and Test
actors.
A new actor and test actor templates can be created with the create-actor.sh
script.
./create-actor.sh <actor-name>
Currently there are some shortcommings with the Starter kit:
- User can only have one
test
actor pertarget
actor. build-helper
directory needs to be mantained, it's wherebuild.rs
script resides and it is responsible for artifacts generation.- User has to have the actor source file named
actor.rs
in the/src
dir. - Not directly because of the project structure but because of Rust itself,
build.rs
will only run if a source file changes.
This project is licensed under the MIT License.
Contributions are welcome! If you'd like to contribute to the Kythera Rust Starter Kit, please follow these steps:
- Fork the repository on GitHub.
- Create a new branch with a descriptive name.
- Make your desired changes.
- Commit your changes and push the branch to your forked repository.
- Open a pull request on the main repository, describing the changes you made.
- THANKS!
Please ensure your contributions adhere to the Contributor Covenant Code of Conduct.