Skip to content

Latest commit

 

History

History
59 lines (29 loc) · 1.38 KB

README.md

File metadata and controls

59 lines (29 loc) · 1.38 KB

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.