{"repo":"OpShin/opshin","free":true,"listed":false,"github":"https://github.com/OpShin/opshin","clone":"git clone https://github.com/OpShin/opshin.git","description":"A simple pythonic programming language for Smart Contracts on Cardano","language":"Python","stars":167,"topics":["cardano","validator","compiler","language","programming-language","python","smart-contracts","hacktoberfest"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"opshin You are building what you want. Why not also build how you want? This is an implementation of smart contracts for Cardano which are written in a strict subset of valid Python. The general philosophy of this project is to write a compiler that ensure the following: If the program compiles then: 1. it is a valid Python program 2. the output running it with python is the same as running it on-chain. Why opshin? - 100% valid Python. Leverage the existing tool stack for Python, syntax highlighting, linting, debugging, unit-testing, property-based testing, verification - Intuitive. Just like Python. - Flexible. Imperative, functional, the way you want it. - Efficient & Secure. Static type inference ensures strict typing and optimized code Getting Started Check out the OpShin Book for an introduction to this tool and details into writing smart contracts. This document will just outline the basic usage of the tool. Installation Install any of the supported Python versions. Then run Writing a Smart Contract Check out the OpShin Book for an introduction to this tool and details into writing smart contracts. Compiling Write your program in python. You may start with the content of examples . Arguments to scripts are passed in as Plutus Data objects in JSON notation. You can run any of the following commands Furthermore, you can add a shebang to the first line of the python file to indicate that it represents an opshin smart contract. You can choose from the following options: - a","default_branch":null,"files":null,"tree":[],"storefront":"/r/OpShin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/OpShin/opshin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}