Skip to content
View ledgerwave's full-sized avatar
⚽
Avaliable
⚽
Avaliable
  • Remote

Organizations

@dev-protocol @Design-and-Code @Devs-Dungeon @Huniko-Team @infraform

Block or report ledgerwave

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 250 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
ledgerwave/README.md

Senior Fullstack & Blockchain Developer

Passionate about building scalable web applications and innovative blockchain solutions.
I specialize in creating robust, secure, and user-friendly applications that bridge traditional web development with cutting-edge blockchain technology.

GitHub Analytics

stats graph languages graph
trophy graph

Rust Smart Contract

use near_sdk::borsh::{self, BorshDeserialize, BorshSerialize};
use near_sdk::{env, near_bindgen};

#[near_bindgen]
#[derive(BorshDeserialize, BorshSerialize)]
pub struct Counter {
    value: i32,
}

// Default implementation
impl Default for Counter {
    fn default() -> Self {
        Self { value: 0 }
    }
}

#[near_bindgen]
impl Counter {
    // Increment the counter
    pub fn increment(&mut self) {
        self.value += 1;
        env::log_str(&format!("Counter incremented to {}", self.value));
    }

    // Decrement the counter
    pub fn decrement(&mut self) {
        self.value -= 1;
        env::log_str(&format!("Counter decremented to {}", self.value));
    }

    // Get the current value
    pub fn get_value(&self) -> i32 {
        self.value
    }
}

Pinned Loading

  1. ASKSpeak ASKSpeak Public

    ASKSpeak converts ASL gestures into spoken words using Leap Motion, enabling real-time communication for the hearing-impaired.

    Python 1