Code Monkey home page Code Monkey logo

summercash / rust-summercash Goto Github PK

View Code? Open in Web Editor NEW
10.0 4.0 1.0 610 KB

:link: :crab: A rust implementation of https://summertech.net 's in-house decentralized, zero-fee, instant digital currency.

Home Page: https://summer.cash

License: MIT License

Rust 99.08% Dockerfile 0.08% Shell 0.84%
summertech summercash rust cryptocurrency web3 smart-contracts decentralized-applications decentralized-applications-platform useful-pow rust-summercash

rust-summercash's Introduction

rust-summercash

A rust implementation of SummerTech's in-house decentralized, zero-fee, instant digital currency.

Getting Started

This repository contains a few tools you can use to get started playing around with SummerCash:

  • summercash - A Rust library for interacting with the SummerCash network. Gives you full access to all SummerCash features.
  • smcd - The SummerCash daemon. This is a service that is designed to run with zero use interaction, all while maintaining a constant, up-to-date connection to the global SummerCash network.
  • smcli - The SummerCash command-line client. Lets you give directions to a smcd instance (e.g. create an account, issue a transaction, etc...)

The latter of these two tools can be installed with cargo install summercash --bin smcd / cargo install summercash --bin smcli, while the SummerCash library can be installed by simply adding SummerCash as a dependency in your Cargo.toml file as such:

summercash = "0.1.0"

Alternatively, install all three of these tools by running the following commands:

git clone https://github.com/SummerCash/rust-summercash && cd rust-summercash
cargo install --path .

After running this sequence of commands, smcd and smcli will be available for use from the $PATH, provided that ~/.cargo/bin is in such an environment variable.

Hello, SummerCash!

To get started with rust-summercash, make sure you've got an up-to-date installation of smcd and smcli installed locally. Then, start the SummerCash node daemon by running:

smcd

and create an account by calling smcli create account. If you wish to encrypt your private key file, run smcli lock account <address>.

Should one wish to send a transaction from this new account, use smcli create transaction <address created in last step> <recipient address> <number of finks> <message>. Keep in mind, values of SMC are expressed in finks, where 1000000000000000000 finks = 1 SMC.

After having created a transaction, one must first sign and then publish this transaction. This can be achieved through the following sequence of commands:

smcli sign transaction <hash> <sender address>
smcli publish transaction <hash>

rust-summercash's People

Contributors

dowlandaiello avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

rovechkin1

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.