Skip to content

Chat application in the near ecosystem, all messages are written in a blockchain contract, coded in rust

Notifications You must be signed in to change notification settings

arkanoeth/Near-Rust-Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Near-Rust-Chat

My assignment within the Near bootcamp at Encode Club. With this code enables you to exchange messages with other participants using a contract on the NEAR network.

image

To begin, make sure you have the following dependencies listed in the cargo.toml file:

[dependencies]

  • near-sdk = "4.1.1"

  • near-sdk-contract-tools = "1.0.1"

Installation

Make sure you have the following versions of Rust and Cargo:

  • cargo 1.71.1
  • rustc 1.71.1 (eb26296b5 2023-08-03)

Install the required packages and tools:

cargo add near-sdk
cargo add near-sdk near-sdk-contract-tools
cargo install --git https://github.com/near/bos-loader
cargo install --git https://github.com/FroVolod/bos-cli-rs 

Usage

bos-loader <YourNEARaccount> --path .\src

You are now ready to send and store messages using the contract.

Note

Be careful not to create your account using only an email within BOS, as this account is currently restricted.

Important

Make sure to have some NEAR in your account to be able to sign the transaction.

About

Chat application in the near ecosystem, all messages are written in a blockchain contract, coded in rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published