https://github.com/frol/new-near-contract
https://github.com/frol/new-near-contract
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/frol/new-near-contract
- Owner: frol
- Created: 2024-02-24T23:08:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-24T23:08:58.000Z (over 2 years ago)
- Last Synced: 2025-02-12T14:19:08.249Z (over 1 year ago)
- Language: Rust
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cargo-near-new-project-name
cargo-near-new-project-description
## Quickstart Guide
You can start coding on the NEAR Rust stack in less than a minute, thanks to [NEAR Devcontainers](https://github.com/near/near-devcontainers). How?
1. Click **Use this template** > **Create a new repository**

2. In your newly created repo, click **Code** > **Codespaces** > **Create codespace on main**

## Where to Get Started?
Start writing your contract logic in [src/lib.rs](src/lib.rs) and integration tests in [tests/test_basics.rs](tests/test_basics.rs).
## How to Build Locally?
Install [`cargo-near`](https://github.com/near/cargo-near) and run:
```bash
cargo near build
```
## How to Test Locally?
```bash
cargo test
```
## How to Deploy?
Deployment is automated with GitHub Actions CI/CD pipeline.
To deploy manually, install [`cargo-near`](https://github.com/near/cargo-near) and run:
```bash
cargo near deploy
```
## Useful Links
- [cargo-near](https://github.com/near/cargo-near) - NEAR smart contract development toolkit for Rust
- [near CLI](https://near.cli.rs) - Iteract with NEAR blockchain from command line
- [NEAR Rust SDK Documentation](https://docs.near.org/sdk/rust/introduction)
- [NEAR Documentation](https://docs.near.org)
- [NEAR StackOverflow](https://stackoverflow.com/questions/tagged/nearprotocol)
- [NEAR Discord](https://near.chat)
- [NEAR Telegram Developers Community Group](https://t.me/neardev)
- NEAR DevHub: [Telegram](https://t.me/neardevhub), [Twitter](https://twitter.com/neardevhub)