MyGit

FuelLabs/sway

Fork: 5369 Star: 62581 (更新于 2024-11-20 13:39:52)

license: Apache-2.0

Language: Rust .

🌴 Empowering everyone to build reliable and efficient smart contracts.

最后发布版本: v0.63.3 ( 2024-08-29 14:59:12)

官方网址 GitHub网址

Sway

build crates.io docs discord

Sway is a language developed for the Fuel blockchain. It is heavily inspired by Rust and aims to bring modern language development and performance to the blockchain ecosystem.

Documentation

For user documentation, including installing release builds, see the Sway Book: https://fuellabs.github.io/sway/latest/.

For Sway Standard library documentation, see: https://fuellabs.github.io/sway/master/std/

Also view the technical reference for the Sway programming language: https://fuellabs.github.io/sway/master/reference/

Building from Source

This section is for developing the Sway compiler and toolchain. For developing contracts and using Sway, see the above documentation section.

Dependencies

Sway is built in Rust. To begin, install the Rust toolchain following instructions at https://www.rust-lang.org/tools/install. Then configure your Rust toolchain to use Rust stable:

rustup default stable

If not already done, add the Cargo bin directory to your PATH by adding the following line to ~/.profile and restarting the shell session.

export PATH="${HOME}/.cargo/bin:${PATH}"

Building Forc

Clone the repository and build the Sway toolchain:

git clone git@github.com:FuelLabs/sway.git
cd sway
cargo build

Confirm the Sway toolchain built successfully:

cargo run --bin forc -- --help

Contributing to Sway

We welcome contributions to Sway!

Please see the Contributing To Sway section of the Sway book for guidelines and instructions to help you get started.

最近版本更新:(数据更新于 2024-09-02 20:49:50)

2024-08-29 14:59:12 v0.63.3

2024-08-29 05:06:34 v0.63.2

2024-08-20 04:35:57 v0.63.1

2024-08-20 01:14:20 v0.63.0

2024-07-18 07:14:20 v0.62.0

2024-07-04 06:26:57 v0.61.2

2024-07-03 05:04:11 v0.61.1

2024-06-19 19:50:35 v0.61.0

2024-05-23 01:39:51 v0.60.0

2024-05-17 20:16:05 v0.59.0

主题(topics):

compiler, fuel, language, sway

FuelLabs/sway同语言 Rust最近更新仓库

2024-11-24 11:02:32 lapce/lapce

2024-11-23 21:43:05 gleam-lang/gleam

2024-11-22 05:42:56 lanyeeee/jmcomic-downloader

2024-11-22 01:44:25 surrealdb/surrealdb

2024-11-11 22:51:00 tauri-apps/tauri

2024-11-11 07:55:30 dani-garcia/vaultwarden