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

PACT commands builder #131

Closed
3 tasks done
boterop opened this issue Nov 8, 2022 · 0 comments
Closed
3 tasks done

PACT commands builder #131

boterop opened this issue Nov 8, 2022 · 0 comments
Labels
🎯 Epic Big picture of a feature

Comments

@boterop
Copy link
Contributor

boterop commented Nov 8, 2022

ℹ️ This issue is an Epic 🎯

Context

This epic defines a model for the construction of PACT command payloads.

Objective

To build command payloads in a composable and semantic manner.

%Command{} = cmd =
  [] # opts
  |> Kadena.Pact.ExecCommand.new()
  |> Kadena.Pact.ExecCommand.set_network(:testnet04)
  |> Kadena.Pact.ExecCommand.add_data(%{})
  |> Kadena.Pact.ExecCommand.add_keypairs([%Keypair{},...])
  |> Kadena.Pact.ExecCommand.add_signer(%Signer{})
  |> Kadena.Pact.ExecCommand.add_signers([%Signers{},...])
  |> Kadena.Pact.ExecCommand.add_metadata(%MetaData{})
  |> Kadena.Pact.ExecCommand.add_nonce("")
  |> Kadena.Pact.ExecCommand.build() :: %Command{}

Checklist

@boterop boterop added the 🎯 Epic Big picture of a feature label Nov 8, 2022
@boterop boterop moved this to 🗓️ Planned in kommitters public roadmap Nov 8, 2022
@boterop boterop moved this to 📋 Todo in Kadena.ex Nov 8, 2022
@einerzg einerzg moved this from 📋 Todo to 🏗 In Progress in Kadena.ex Nov 15, 2022
@juanhurtado10 juanhurtado10 changed the title Pact API PACT commands builder Nov 23, 2022
@juanhurtado10 juanhurtado10 added the 📍 Work in progress Current work in progress label Nov 23, 2022
@miguelnietoa miguelnietoa removed the 📍 Work in progress Current work in progress label Dec 8, 2022
Repository owner moved this from 🗓️ Planned to ✅ Done in kommitters public roadmap Dec 8, 2022
Repository owner moved this from 🏗 In Progress to ✅ Done in Kadena.ex Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎯 Epic Big picture of a feature
Projects
Status: Done
Status: Done
Development

No branches or pull requests

3 participants