Skip to content

andrea-dintino/planetmint-broadcast-zencode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zenswarm

Planetmint Broadcast Zencode
Execute Zenroom SC in Planetmint monitoring

Dyne.org



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)

💾 Install

pnpm install
pnpm run build
pnpm run start

🎮 Quick start

pnpm run dev


🔝 back to top


😍 Acknowledgements

software by Dyne.org

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.

🔝 back to top


🌐 Links

https://github.com/dyne/zenswarm https://dyne.org/

🔝 back to top


👤 Contributing

Please first take a look at the Dyne.org - Contributor License Agreement then

  1. 🔀 FORK IT
  2. Create your feature branch git checkout -b feature/branch
  3. Commit your changes git commit -am 'Add some fooBar'
  4. Push to the branch git push origin feature/branch
  5. Create a new Pull Request
  6. 🙏 Thank you

🔝 back to top


💼 License

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/>.

🔝 back to top

About

documentation fork

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.0%
  • HTML 13.1%
  • Shell 5.9%