diff --git a/.changeset/selfish-wombats-dance.md b/.changeset/selfish-wombats-dance.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/selfish-wombats-dance.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/README.md b/README.md index 772f1d09b76..c90edd7afb9 100644 --- a/README.md +++ b/README.md @@ -7,20 +7,20 @@ [![test](https://github.com/FuelLabs/fuels-ts/actions/workflows/test.yaml/badge.svg)](https://github.com/FuelLabs/fuels-ts/actions/workflows/test.yaml) [![npm](https://img.shields.io/npm/v/fuels)](https://www.npmjs.com/package/fuels) -[![docs](https://img.shields.io/badge/docs-fuels.ts-brightgreen.svg?style=flat)](https://fuellabs.github.io/fuels-ts/) +[![docs](https://img.shields.io/badge/docs-fuels.ts-brightgreen.svg?style=flat)](https://docs.fuel.network/docs/fuels-ts/) [![discord](https://img.shields.io/badge/chat%20on-discord-orange?&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/xfpK4Pe) # Resources -The [documentation](https://fuellabs.github.io/fuels-ts) site is your main stop for resources. +The [documentation](https://docs.fuel.network/docs/fuels-ts/) site is your main stop for resources. -- [Quickstart](https://fuellabs.github.io/fuel-docs/master/quickstart/developer-quickstart.html) -- [Documentation](https://fuellabs.github.io/fuels-ts) - - [Wallets](https://fuellabs.github.io/fuels-ts/guide/wallets/) - - [Contracts](https://fuellabs.github.io/fuels-ts/guide/contracts/) - - [Scripts](https://fuellabs.github.io/fuels-ts/guide/scripts/) - - [Predicates](https://fuellabs.github.io/fuels-ts/guide/predicates/) - - [ABI Typegen](https://fuellabs.github.io/fuels-ts/guide/abi-typegen/) +- [Quickstart](https://docs.fuel.network/docs/intro/quickstart-contract/) +- [Documentation](https://docs.fuel.network/docs/fuels-ts/) + - [Wallets](https://docs.fuel.network/docs/fuels-ts/wallets/) + - [Contracts](https://docs.fuel.network/docs/fuels-ts/contracts/) + - [Scripts](https://docs.fuel.network/docs/fuels-ts/scripts/) + - [Predicates](https://docs.fuel.network/docs/fuels-ts/predicates/) + - [ABI Typegen](https://docs.fuel.network/docs/fuels-ts/abi-typegen/) - [Contributing](https://github.com/FuelLabs/fuels-ts/blob/master/CONTRIBUTING.md) - [The Fuel Forum](https://forum.fuel.network/) - [The Fuel Ecosystem](#the-fuel-ecosystem) @@ -49,7 +49,7 @@ console.log(new Wallet("0x0000...0000")); Fuels include some utility commands via built-in CLI tool. -Check the [docs](https://fuellabs.github.io/fuels-ts) for more info. +Check the [docs](https://docs.fuel.network/docs/fuels-ts/) for more info. ```console $ npm add fuels @@ -78,8 +78,8 @@ Commands: Learn more about the Fuel Ecosystem. -- [🌴 Sway](https://fuellabs.github.io/sway/) — The new language, empowering everyone to build reliable and efficient smart contracts -- [🧰 Forc](https://fuellabs.github.io/sway/v0.30.1/forc/index.html) — The Fuel toolbox: _Build, deploy and manage your sway projects_ +- [🌴 Sway](https://docs.fuel.network/docs/sway/) — The new language, empowering everyone to build reliable and efficient smart contracts +- [🧰 Forc](https://docs.fuel.network/docs/forc/) — The Fuel toolbox: _Build, deploy and manage your sway projects_ - [⚙️ Fuel Core](https://github.com/FuelLabs/fuel-core) — The new FuelVM, a blazingly fast blockchain VM - [🔗 Fuel Specs](https://github.com/FuelLabs/fuel-specs) — The Fuel protocol specifications - [💼 Fuels Wallet](https://github.com/FuelLabs/fuels-wallet) — The Official Fuels Wallet diff --git a/apps/docs/src/guide/abi-typegen/index.md b/apps/docs/src/guide/abi-typegen/index.md index 96271ec4f52..1f2ec28e053 100644 --- a/apps/docs/src/guide/abi-typegen/index.md +++ b/apps/docs/src/guide/abi-typegen/index.md @@ -2,13 +2,13 @@ import { data } from '../../versions.data' const { forc } = data const abiUrl = ` - https://fuellabs.github.io/sway/v${forc}/book/sway-program-types/smart_contracts.html#the-abi-declaration + https://docs.fuel.network/docs/sway/sway-program-types/smart_contracts/#the-abi-declaration ` const contractsUrl = ` - https://fuellabs.github.io/sway/v${forc}/book/sway-program-types/smart_contracts.html + https://docs.fuel.network/docs/sway/sway-program-types/smart_contracts/ ` const scriptsUrl = ` - https://fuellabs.github.io/sway/v${forc}/book/sway-program-types/scripts.html + https://docs.fuel.network/docs/sway/sway-program-types/scripts/ ` diff --git a/apps/docs/src/guide/contracts/deploying-contracts.md b/apps/docs/src/guide/contracts/deploying-contracts.md index ac4a30ca132..a9d91098ec6 100644 --- a/apps/docs/src/guide/contracts/deploying-contracts.md +++ b/apps/docs/src/guide/contracts/deploying-contracts.md @@ -1,8 +1,8 @@ # Deploying Contracts diff --git a/apps/docs/src/guide/predicates/index.md b/apps/docs/src/guide/predicates/index.md index e3f632cf90b..d3d3edd5338 100644 --- a/apps/docs/src/guide/predicates/index.md +++ b/apps/docs/src/guide/predicates/index.md @@ -1,8 +1,8 @@ # Predicates diff --git a/apps/docs/src/guide/scripts/index.md b/apps/docs/src/guide/scripts/index.md index 6743b331e5d..bc1262823f7 100644 --- a/apps/docs/src/guide/scripts/index.md +++ b/apps/docs/src/guide/scripts/index.md @@ -2,7 +2,7 @@ import { data } from '../../versions.data' const { forc } = data const url = ` - https://fuellabs.github.io/sway/v${forc}/book/sway-program-types/scripts.html#scripts-and-the-sdks + https://docs.fuel.network/docs/sway/sway-program-types/scripts/#scripts-and-the-sdks ` diff --git a/apps/docs/src/guide/scripts/instantiating-a-script.md b/apps/docs/src/guide/scripts/instantiating-a-script.md index 952762707e6..6f8ddf1c2ca 100644 --- a/apps/docs/src/guide/scripts/instantiating-a-script.md +++ b/apps/docs/src/guide/scripts/instantiating-a-script.md @@ -2,7 +2,7 @@ import { data } from '../../versions.data' const { forc } = data const url = ` - https://fuellabs.github.io/sway/v${forc}/book/introduction/index.html + https://docs.fuel.network/docs/sway/introduction/ ` diff --git a/apps/docs/src/guide/testing/index.md b/apps/docs/src/guide/testing/index.md index d90f2bc74ea..06e11978025 100644 --- a/apps/docs/src/guide/testing/index.md +++ b/apps/docs/src/guide/testing/index.md @@ -1,7 +1,7 @@ # Testing @@ -10,7 +10,7 @@ In order to test your Sway and TS-SDK applications, you can test your code in a 1. Testing with TS-SDK: Compiling you Sway code and connecting to the methods using TS-SDK and JS testing frameworks 2. Using `forc test` see the Sway docs for more info -3. Using [the Rust SDK](https://fuellabs.github.io/fuels-rs/v0.31.1/testing/index.html) +3. Using [the Rust SDK](https://docs.fuel.network/docs/fuels-rs/testing/) ### Testing with TS-SDK diff --git a/apps/docs/src/guide/types/index.md b/apps/docs/src/guide/types/index.md index 5fbe40c3215..4a7180d8d9a 100644 --- a/apps/docs/src/guide/types/index.md +++ b/apps/docs/src/guide/types/index.md @@ -18,6 +18,6 @@ In this section, you will learn about: As you progress through the documentation, you may find it helpful to refer back to the following resources: -- [Sway Documentation](https://fuellabs.github.io/sway/): Explore the Sway documentation homepage for an overview of Sway Types, as well as other sections. +- [Sway Documentation](https://docs.fuel.network/docs/sway/): Explore the Sway documentation homepage for an overview of Sway Types, as well as other sections. - [The Fuel Book](https://fuelbook.fuel.network/master/index.html): A comprehensive guide to the whole Fuel ecosystem. diff --git a/apps/docs/src/index.md b/apps/docs/src/index.md index 82df33bfd08..a5193bb3e53 100644 --- a/apps/docs/src/index.md +++ b/apps/docs/src/index.md @@ -1,7 +1,7 @@ @@ -15,7 +15,7 @@ Please visit the Fuel's [installation guide](https://docs.fuel.network/guides/in ## Developer Quickstart Guide -We recommend starting with the [Developer Quickstart](https://fuellabs.github.io/fuel-docs/master/quickstart/developer-quickstart.html) for a walk through on building your first DApp on Fuel. +We recommend starting with the [Developer Quickstart](https://docs.fuel.network/docs/intro/quickstart-contract/) for a walk through on building your first DApp on Fuel. - [Guide](./guide/) - [Sample Application](https://github.com/FuelLabs/beta2-quickstart) @@ -25,7 +25,7 @@ We recommend starting with the [Developer Quickstart](https://fuellabs.github.io Learn more about the Fuel Ecosystem. -- [🌴 Sway](https://fuellabs.github.io/sway/) the new language. Empowering everyone to build reliable and efficient smart contracts. +- [🌴 Sway](https://docs.fuel.network/docs/sway/) the new language. Empowering everyone to build reliable and efficient smart contracts. - 🧰 Forc the Fuel toolbox. Build, deploy and manage your sway projects. - [⚙️ Fuel Core](https://github.com/FuelLabs/fuel-core) the new FuelVM, a blazingly fast blockchain VM. - [🔗 Fuel Specs](https://github.com/FuelLabs/fuel-specs) the Fuel protocol specifications. diff --git a/packages/abi-coder/README.md b/packages/abi-coder/README.md index 24cd682c3f7..dbd65ed7984 100644 --- a/packages/abi-coder/README.md +++ b/packages/abi-coder/README.md @@ -18,7 +18,7 @@ This module is responsible for encoding and decoding the Application Binary Inte -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/) ## Usage diff --git a/packages/abi-typegen/README.md b/packages/abi-typegen/README.md index fb4dbc698d3..d27e80041f1 100644 --- a/packages/abi-typegen/README.md +++ b/packages/abi-typegen/README.md @@ -17,7 +17,7 @@ See the full ABI-spec [here](https://github.com/FuelLabs/fuel-specs/blob/master/ ## Documentation -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/guide/abi-typegen/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/abi-typegen/) ## Installation diff --git a/packages/address/README.md b/packages/address/README.md index d3a9ceb2340..1bc2595404c 100644 --- a/packages/address/README.md +++ b/packages/address/README.md @@ -16,7 +16,7 @@ This module contains the utilities for encoding and decoding address and contrac ## Documentation -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/guide/types/address.html) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/types/address/) ## Usage diff --git a/packages/contract/README.md b/packages/contract/README.md index a399d3306f1..a3d0eeb9490 100644 --- a/packages/contract/README.md +++ b/packages/contract/README.md @@ -16,7 +16,7 @@ This module allows for a simple way to serialize calls and transactions to an on ## Documentation -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/guide/contracts/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/contracts/) ## Usage diff --git a/packages/crypto/README.md b/packages/crypto/README.md index 539fe19ccca..65af022d0fe 100644 --- a/packages/crypto/README.md +++ b/packages/crypto/README.md @@ -18,7 +18,7 @@ This module contains the utilities for encrypting and decrypting data objects us -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/) ## Usage diff --git a/packages/errors/README.md b/packages/errors/README.md index bde1e5f4f52..acb3452beab 100644 --- a/packages/errors/README.md +++ b/packages/errors/README.md @@ -20,7 +20,7 @@ This package contains core utilities regarding throwing errors internally inside -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/) ## Usage diff --git a/packages/hasher/README.md b/packages/hasher/README.md index 2a2292a8524..a6c920bbde6 100644 --- a/packages/hasher/README.md +++ b/packages/hasher/README.md @@ -18,7 +18,7 @@ This module contains several common hashing utilities. -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/) ## Usage diff --git a/packages/hdwallet/README.md b/packages/hdwallet/README.md index 31804b1b8f4..0069b8004fe 100644 --- a/packages/hdwallet/README.md +++ b/packages/hdwallet/README.md @@ -18,7 +18,7 @@ This module is an implementation of the BIP-0044 and BIP-0032, Multi-Account Hie -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/) ## Usage diff --git a/packages/interfaces/README.md b/packages/interfaces/README.md index 49dd79edce1..03d8e855915 100644 --- a/packages/interfaces/README.md +++ b/packages/interfaces/README.md @@ -18,7 +18,7 @@ This module contains utilities to manipulate binary data and can be used to help -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/) ## Usage diff --git a/packages/math/README.md b/packages/math/README.md index db5d27e4bf2..fd2d333c3c1 100644 --- a/packages/math/README.md +++ b/packages/math/README.md @@ -20,7 +20,7 @@ Math is based in [bn.js](https://www.npmjs.com/package/bn.js) library, which hel -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/) ## Usage diff --git a/packages/merkle/README.md b/packages/merkle/README.md index 480010e4a97..2d1975deb6b 100644 --- a/packages/merkle/README.md +++ b/packages/merkle/README.md @@ -23,7 +23,7 @@ This module contains: -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/) ## Usage diff --git a/packages/mnemonic/README.md b/packages/mnemonic/README.md index 51ccc70777c..27338167f3e 100644 --- a/packages/mnemonic/README.md +++ b/packages/mnemonic/README.md @@ -18,7 +18,7 @@ This module contains utilities to import and export BIP 39 mnemonic phrases in c -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/) ## Usage diff --git a/packages/predicate/README.md b/packages/predicate/README.md index 4811e836b9b..d966e70e061 100644 --- a/packages/predicate/README.md +++ b/packages/predicate/README.md @@ -16,7 +16,7 @@ This module allows for a simple way to serialize calls to an on-chain predicate ## Documentation -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/guide/predicates/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/predicates/) ## Usage diff --git a/packages/program/README.md b/packages/program/README.md index b8c76974413..f72b241b48b 100644 --- a/packages/program/README.md +++ b/packages/program/README.md @@ -18,7 +18,7 @@ This module allows for a simple way to serialize calls and transactions to Sway -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/) ## Usage diff --git a/packages/providers/README.md b/packages/providers/README.md index 7c4fed3c0ca..8e1f0aba614 100644 --- a/packages/providers/README.md +++ b/packages/providers/README.md @@ -16,7 +16,7 @@ This module contains common Provider classes and utility functions for connectin ## Documentation -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/guide/providers/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/providers/) ## Usage diff --git a/packages/signer/README.md b/packages/signer/README.md index a59eb7d6545..e588110d115 100644 --- a/packages/signer/README.md +++ b/packages/signer/README.md @@ -18,7 +18,7 @@ This module contains utilities for secp256-k1 signing, verifying and recovery op -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/) ## Usage diff --git a/packages/transactions/README.md b/packages/transactions/README.md index dea49a86ef9..045b842f12c 100644 --- a/packages/transactions/README.md +++ b/packages/transactions/README.md @@ -18,7 +18,7 @@ This module contains various constants and functions for encoding and decoding s -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/) ## Usage diff --git a/packages/utils/README.md b/packages/utils/README.md index fb0e694228c..8f8a3e96202 100644 --- a/packages/utils/README.md +++ b/packages/utils/README.md @@ -18,7 +18,7 @@ It's a collection of utilities and test utilities that may be useful in other pl -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/) ## Installation diff --git a/packages/versions/README.md b/packages/versions/README.md index 3b38dbad3ad..5797b70f7ff 100644 --- a/packages/versions/README.md +++ b/packages/versions/README.md @@ -26,7 +26,7 @@ Aditionally, the library can be used as a CLI tool to help checking/validating u -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/) ## Installation diff --git a/packages/wallet-manager/README.md b/packages/wallet-manager/README.md index d7bd4fa85f0..9b443fd0ef1 100644 --- a/packages/wallet-manager/README.md +++ b/packages/wallet-manager/README.md @@ -18,7 +18,7 @@ This module is a coordination wrapper to manage multiple wallet `Vaults` and sto -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/) ## Usage diff --git a/packages/wallet/README.md b/packages/wallet/README.md index 4ff975221bb..5a8d7f97962 100644 --- a/packages/wallet/README.md +++ b/packages/wallet/README.md @@ -16,7 +16,7 @@ This module contains the class to manage a private key and signing for a standar ## Documentation -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/guide/wallets/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/wallets/) ## Usage diff --git a/packages/wordlists/README.md b/packages/wordlists/README.md index 34761cb2996..3ffb7b78adf 100644 --- a/packages/wordlists/README.md +++ b/packages/wordlists/README.md @@ -18,7 +18,7 @@ This module contains a wordlist for BIP 39 mnemonic phrases, currently limited t -See [Fuels-ts Documentation](https://fuellabs.github.io/fuels-ts/) +See [Fuels-ts Documentation](https://docs.fuel.network/docs/fuels-ts/) ## Usage