Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CourseCreatorActionsCmd = &cobra.Command{ Use: "course-creator", Short: "Transactions for course creators", Long: `Course creators are responsible for publishing credential criteria and issuing credentials. mint-module-tokens publishes credential criteria by minting a token on Cardano, accompanied by a list of SLTs and an Assignment reference After credentials are published, students can commit to assignments. Creators can accept and deny student commitments with the transactions included here. `, Run: func(cmd *cobra.Command, args []string) { if len(args) == 0 { cmd.Help() return } fmt.Printf("Error: '%s' is not a valid subcommand for 'course-creator-actions'\n", args[0]) fmt.Println("Run './andamio-cli build transaction course-creator-actions --help' for available subcommands.") os.Exit(1) }, }
View Source
var MintAccessTokenCmd = &cobra.Command{ Use: "mint-access-token", Short: "Mint an Andamio access token", Long: ` About: An access token is required to interact with Andamio. This transaction mints a unique Andamio access token. This transaction will fail if access token name is already minted. `, Run: func(cmd *cobra.Command, args []string) { client.GetMintAccessToken(userAddress, alias, userInfo) }, }
View Source
var StudentActionsCmd = &cobra.Command{ Use: "student", Short: "Transactions for students", Long: `Students can enroll in courses, complete assignments, and earn credentials. These transactions provide endpoints to each feature. - Course enrollment: mint-local-state and burn-local-state - Assignments and Credentials: commit, update, and leave assignments `, Run: func(cmd *cobra.Command, args []string) { if len(args) == 0 { cmd.Help() return } fmt.Printf("Error: '%s' is not a valid subcommand for 'student-actions'\n", args[0]) fmt.Println("Run './andamio-cli build transaction student-actions --help' for available subcommands.") os.Exit(1) }, }
View Source
var TransactionCmd = &cobra.Command{ Use: "transaction", Short: "build transaction", Long: `The Andamio Network is home to valuable, public data that becomes even more valuable when you have tools to make sense of it. Andamio CLI gives developers instant access to transactions, making it easier to explore possibilities and build new tools on Andamio. This release of andamio-cli features transactions for 1. Minting access tokens 2. Student interactions 3. Course creator interactions Transactions for Andamio contributors will be added in a future release. `, Run: func(cmd *cobra.Command, args []string) { if len(args) == 0 { cmd.Help() return } fmt.Printf("Error: '%s' is not a valid subcommand for 'transaction'\n", args[0]) fmt.Println("Run './andamio-cli build transaction --help' for available subcommands.") os.Exit(1) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.