-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Plutus Core backend #212
Comments
In GitLab by @kwanzknoel on Jul 27, 2021, 00:40 changed the description |
2 similar comments
In GitLab by @kwanzknoel on Jul 27, 2021, 00:40 changed the description |
In GitLab by @kwanzknoel on Jul 27, 2021, 00:40 changed the description |
In GitLab by @kwanzknoel on Jul 27, 2021, 01:13 changed the description |
In GitLab by @kwanzknoel on Jul 27, 2021, 01:40 changed the description |
In GitLab by @kwanzknoel on Jul 27, 2021, 01:51 changed the description |
In GitLab by @kwanzknoel on Jul 27, 2021, 01:52 changed the description |
In GitLab by @kwanzknoel on Jul 27, 2021, 01:53 changed the description |
In GitLab by @kwanzknoel on Jul 27, 2021, 13:35 changed the description |
In GitLab by @kwanzknoel on Jul 26, 2021, 23:48
Support for Plutus Core backend
TODO
Plutus smart contract support is still not yet available on testnets.
However, we can use the
plc
executable provided inplutus-core
as a means of "off-chain" communication.plc
executable /plutus-core
haskell libraries if we want to runplutus-core
code in glow.Setup Plutus Core
git clone [email protected]:input-output-hk/plutus.git
plutus-core
executables: https://github.com/input-output-hk/plutus/tree/master/plutus-core#via-nix.Sanity check for Plutus Core
Apply
Input
Output
Eval
Input
Output
Investigate state of
glow/cardano
Does not compile glow DApps to plutus-core.
Instead, it uses the State Machine contract (See: Plutus Pioneers Program - State Machine for a step-by-step explanation) which provides Smart Contract Backend (SCB) (now renamed more accurately to Plutus Application Backend (PAB)) and the on-chain code.
Using output from glow, it interprets relevant sections into HTTP calls to interact with the state machine on-chain code. The HTTP API / CLI is provided by the SCB of the state machine contract (see:
glow/cardano/scripts/execute-contract
, whereclosing
DApp is being interpreted).This is an interesting approach, however it is not what we want as we need to target
plutus-core
directly.Investigate
plutus-pab
Plutus Application Backend (PAB) is used by clients to interface with contracts, and manage state of plutus contract instances.
Eventually we might have to reproduce certain features from this.
What we need for off-chain:
As such it seems more appropriate to use
plc
/ import the plutus core library to interface locally with plutus core,until there is actual on-chain support for plutus core code.
The text was updated successfully, but these errors were encountered: