Giter VIP home page Giter VIP logo

casper-dart-sdk's Introduction

Casper Dart SDK

Casper Dart SDK is a powerful software development kit (SDK) for the Casper blockchain, written in Dart. With this SDK, you can interact with the Casper network, write smart contracts, and build DApps using Dart, a language known for its scalability and efficiency.

Features

Chain Interaction: The SDK allows direct interaction with the Casper blockchain.

Smart Contract Management: Allows deploying, calling and managing smart contracts on the Casper network.

Event Handling: Built-in event handling to respond to various events within the Casper network.

Flexible Payments: You can set the amount of payment for each contract call.

Time-To-Live (TTL): You can specify the TTL for a deploy, allowing for flexibility in transaction lifetime. Installation

Add the following to your pubspec.yaml file:

dependencies:
  casper_dart_sdk:
    git: https://github.com/TheArcadiaGroup/casper-dart-sdk.git

Then run:

pub get

API

One of the main classes provided by this SDK is ContractClient. The client exposes several methods to interact with the Casper network, including:

contractCall(ContractClientCallParams params): Executes a call to a contract deployed on the network, returning the deploy hash.

createUnsignedContractCall(ContractClientCallParamsUnsigned params): Creates an unsigned contract call.

putSignatureAndSend(AppendSignature sig): Puts a signature on the contract call and sends it to the network.

addPendingDeploy(deployType, String deployHash): Adds a deploy hash to the list of pending deploys.

handleEvents(eventNames, callback): Handles various Casper events. Only one event listener can be created at a time.

Contributing

Contributions to the Casper Dart SDK are welcome! Please see the CONTRIBUTING.md file for more details.

License

Casper Dart SDK is licensed under the MIT License.

casper-dart-sdk's People

Contributors

akirapham avatar faustino-luis avatar hysmagus avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.