algorand_kmd 1.0.0
algorand_kmd: ^1.0.0 copied to clipboard

OpenAPI API client for Algorand Key Management Daemon

algorand_kmd (EXPERIMENTAL) #

API for KMD (Key Management Daemon)

This Dart package is automatically generated by the OpenAPI Generator project:

  • API version: 0.0.1
  • Build package: org.openapitools.codegen.languages.DartDioNextClientCodegen

Requirements #

  • Dart 2.12.0 or later OR Flutter 1.26.0 or later
  • Dio 4.0.0+

Installation & Usage #

pub.dev #

To use the package from pub.dev, please include the following in pubspec.yaml

dependencies:
  algorand_kmd: 1.0.0

Github #

If this Dart package is published to Github, please include the following in pubspec.yaml

dependencies:
  algorand_kmd:
    git:
      url: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
      #ref: main

Local development #

To use the package from your local drive, please include the following in pubspec.yaml

dependencies:
  algorand_kmd:
    path: /path/to/algorand_kmd

Getting Started #

Please follow the installation procedure and then run the following:

import 'package:algorand_kmd/algorand_kmd.dart';


final api = AlgorandKmd().getDefaultApi();
final CreateWalletRequest createWalletRequest = ; // CreateWalletRequest | 

try {
    final response = await api.createWallet(createWalletRequest);
    print(response);
} catch on DioError (e) {
    print("Exception when calling DefaultApi->createWallet: $e\n");
}

Documentation for API Endpoints #

All URIs are relative to http://localhost

ClassMethodHTTP requestDescription
DefaultApicreateWalletPOST /v1/walletCreate a wallet
DefaultApideleteKeyDELETE /v1/keyDelete a key
DefaultApideleteMultisigDELETE /v1/multisigDelete a multisig
DefaultApiexportKeyPOST /v1/key/exportExport a key
DefaultApiexportMasterKeyPOST /v1/master-key/exportExport the master derivation key from a wallet
DefaultApiexportMultisigPOST /v1/multisig/exportExport multisig address metadata
DefaultApigenerateKeyPOST /v1/keyGenerate a key
DefaultApigetVersionGET /versionsRetrieves the current version
DefaultApigetWalletInfoPOST /v1/wallet/infoGet wallet info
DefaultApiimportKeyPOST /v1/key/importImport a key
DefaultApiimportMultisigPOST /v1/multisig/importImport a multisig account
DefaultApiinitWalletHandleTokenPOST /v1/wallet/initInitialize a wallet handle token
DefaultApilistKeysInWalletPOST /v1/key/listList keys in wallet
DefaultApilistMultisgPOST /v1/multisig/listList multisig accounts
DefaultApilistWalletsGET /v1/walletsList wallets
DefaultApireleaseWalletHandleTokenPOST /v1/wallet/releaseRelease a wallet handle token
DefaultApirenameWalletPOST /v1/wallet/renameRename a wallet
DefaultApirenewWalletHandleTokenPOST /v1/wallet/renewRenew a wallet handle token
DefaultApisignMultisigProgramPOST /v1/multisig/signprogramSign a program for a multisig account
DefaultApisignMultisigTransactionPOST /v1/multisig/signSign a multisig transaction
DefaultApisignProgramPOST /v1/program/signSign program
DefaultApisignTransactionPOST /v1/transaction/signSign a transaction
DefaultApiswaggerHandlerGET /swagger.jsonGets the current swagger spec.

Documentation For Models #

Documentation For Authorization #

api_key #

  • Type: API key
  • API key parameter name: X-KMD-API-Token
  • Location: HTTP header

Author #

contact@algorand.com

0
likes
100
pub points
47%
popularity

OpenAPI API client for Algorand Key Management Daemon

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

built_collection, built_value, dio

More

Packages that depend on algorand_kmd