Skip to content

API wrapper for Cardano Wallet facilitates communication between a ColdFusion server and the Cardano blockchain via the official cardano-wallet

License

Notifications You must be signed in to change notification settings

fangio10/ColdFusion-API-wrapper-for-Cardano-Wallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About The Project

API wrapper for Cardano Wallet facilitates communication between a ColdFusion server and the Cardano blockchain via the official cardano-wallet

Prerequisites

Installation

Clone the repo

git clone https://github.com/fangio10/ColdFusion-API-wrapper-for-Cardano-Wallet.git

Usage

Instantiate wallet and address objects during application start, for example under function "onApplicationStart" in Application.cfc

<cfset application.oW = createObject("component","wallet").init(ipAddress="192.168.1.1",logFile="wallet.log") />
<cfset application.oA = createObject("component","address").init("/path/to/cardano-address") />

make a call to cardano-wallet, eg show network information

<cfset stNetwork = application.oW.networkInformation() />

make a call to cardano-address, eg generate a passphrase

<cfset stMnemonic = application.oA.generatePhrase() />

functions return a structure with the following keys:

  • bSuccess (boolean): was request successful
  • code (numeric): HTTP status code
  • logLevel (string): information, warning, error, fatal
  • logMessage (string): request details including any errors
  • data (any): data returned from cardano-wallet

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/myFeature)
  3. Commit your Changes (git commit -m 'Adding my feature')
  4. Push to the Branch (git push origin feature/myFeature)
  5. Open a Pull Request

License

Distributed under the APACHE License 2.0. See LICENSE for more information.

Contact

Franco - @adaversePools - [email protected]

Project Link: https://github.com/fangio10/ColdFusion-API-wrapper-for-Cardano-Wallet

About

API wrapper for Cardano Wallet facilitates communication between a ColdFusion server and the Cardano blockchain via the official cardano-wallet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published