Skip to content
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

Documentation enhancement #78

Closed
8 of 9 tasks
mikekeke opened this issue Jun 6, 2022 · 3 comments · Fixed by #133
Closed
8 of 9 tasks

Documentation enhancement #78

mikekeke opened this issue Jun 6, 2022 · 3 comments · Fixed by #133
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@mikekeke
Copy link
Collaborator

mikekeke commented Jun 6, 2022

Plutip keeps getting new features, but some of them either not mentioned in README at all or not too visible.
Some of things that could be improved/mentioned listed below.

‼️There will be significant changes in wallets initialization - see #104 <-- work on this was pushed back

Usage example

  • need to be updated, doesn't reflect current DSL

Tasty integration

Mention key features:

Local cluster capabilities

Mention available use-cases:

  • launching private testnet for safe experiments with another tools from cardano ecosystem
  • launching private testnet and setting up some funded wallets using eDSL, arbitrary contracts execution also possible
    • upcoming tracing capabilities (Add assertAndTraceExecution. #77) can be handy here as well; brief explanation of logs collecting <-- tracing works with contract execution, local cluster alone doesn't execute contracts

Configuration

  • provide some info on how things like slot length and max transaction budgets can be set up

Caveats

Pitfalls

  • note that each assertExecution in list of tests runs under same cluster - it creates new wallet(s) for each contract run, but if same validator is used in different assertExecution calls, the address will stay same and whatever utxos created there will stay also - tests are not isolated in that sense
@mikekeke mikekeke added documentation Improvements or additions to documentation enhancement New feature or request labels Jun 6, 2022
@cortsf
Copy link

cortsf commented Jul 13, 2022

Doc request: Explain the precise behavior of withContractAs with respect to n and pkhs:

void $  withContractAs n (\pkhs -> ...)

@IAmPara0x
Copy link
Contributor

IAmPara0x commented Aug 10, 2022

due to #104, plutip will have major changes in syntax of wallet initialization and contracts functions (such as withContractAs). Hence, imo we should hold off on adding docs for that part, until #104 is completed.

@mikekeke
Copy link
Collaborator Author

@IAmPara0x thanks for pointing that out. I've updated description.

@mikekeke mikekeke linked a pull request Sep 14, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants