💾 Install • 🎮 Quick start • 🔧 Configuration • 📋 Testing • 🐛 Troubleshooting & debugging • 😍 Acknowledgements • 🌐 Links • 👤 Contributing • 💼 License
A python script to execute a Zenroom smart contract in Planetmint.
The script performs a POST to a Planetmint node, which is executed on chain. Upon successful execution, Planetmint returns a txId. Data passed to Planetmint is:
- A smart contract written in Zencode
- Input for the smart contract
- ED259 public key of the actor executing the smart contract
Example
curl -X POST localhost:5000/broadcast --data-urlencode "[email protected]" --data-urlencode "[email protected]" --data-urlencode "[email protected]" --data-urlencode "[email protected]" --data-urlencode "ed_public_key=5Uv4KLinWJpKFagfab9r3P9jMRJhWMZv3CgRdBZZ4vvb" --data-urlencode "[email protected]"
🚩 Table of Contents (click to expand)
pnpm install
pnpm run build
pnpm run start
pnpm run dev
Copyleft (ɔ) 2021 by Dyne.org foundation, Amsterdam
Designed, written and maintained by Puria Nafisi Azizi.
Special thanks to Mr. W. White for his special contributions.
https://github.com/dyne/zenswarm https://dyne.org/
Please first take a look at the Dyne.org - Contributor License Agreement then
- 🔀 FORK IT
- Create your feature branch
git checkout -b feature/branch
- Commit your changes
git commit -am 'Add some fooBar'
- Push to the branch
git push origin feature/branch
- Create a new Pull Request
- 🙏 Thank you
Planetmint Broadcast Zencode - {tagline}
Copyleft (ɔ) 2021 Dyne.org foundation, Amsterdam
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.