diff --git a/api/methods/getLedgerEntries.mdx b/api/methods/getLedgerEntries.mdx index d098cb5c..3bb85dd8 100644 --- a/api/methods/getLedgerEntries.mdx +++ b/api/methods/getLedgerEntries.mdx @@ -390,4 +390,4 @@ And the response we get contains (even more) `LedgerEntryData` that we can decod ``` [`increment` example contract]: /docs/getting-started/storing-data -["View XDR" page of the Stellar Laboratory]: +["View XDR" page of the Stellar Laboratory]: diff --git a/api/methods/getNetwork.mdx b/api/methods/getNetwork.mdx index 4d173240..025c3cf2 100644 --- a/api/methods/getNetwork.mdx +++ b/api/methods/getNetwork.mdx @@ -30,8 +30,8 @@ General info about the currently configured network. "jsonrpc": "2.0", "id": 8675309, "result": { - "friendbotUrl": "https://friendbot-futurenet.stellar.org/", - "passphrase": "Test SDF Future Network ; October 2022", + "friendbotUrl": "https://friendbot.stellar.org/", + "passphrase": "Test SDF Network ; September 2015", "protocolVersion": "20" } } diff --git a/dapps/dapp-challenges/challenge-0-crowdfund.mdx b/dapps/dapp-challenges/challenge-0-crowdfund.mdx index 0b0971ed..a7dd4d16 100644 --- a/dapps/dapp-challenges/challenge-0-crowdfund.mdx +++ b/dapps/dapp-challenges/challenge-0-crowdfund.mdx @@ -235,7 +235,7 @@ You can now visit the preview link to see your deployed dapp! πŸŽ‰ -You will need to add some Testnet network lumens to your Freighter wallet to interact with the deployed dapp. Visit [https://laboratory.stellar.org/#account-creator?network=futurenet](https://laboratory.stellar.org/#account-creator?network=futurenet), and follow the instructions to create your Freighter account on Testnet. +You will need to add some Testnet network lumens to your Freighter wallet to interact with the deployed dapp. Visit [https://laboratory.stellar.org/#account-creator?network=testnet](https://laboratory.stellar.org/#account-creator?network=testnet), and follow the instructions to create your Freighter account on Testnet. ## Checkpoint 7: πŸ’ͺ Pass the Challenge! @@ -297,7 +297,7 @@ You should see something like this: ] ``` -[Stellar Laboratory]: https://laboratory.stellar.org/#explorer?network=futurenet +[Stellar Laboratory]: https://laboratory.stellar.org/#explorer?network=testnet ## πŸ“š User Workflows Checklist diff --git a/dapps/dapp-challenges/challenge-1-payment.mdx b/dapps/dapp-challenges/challenge-1-payment.mdx index 72852d11..e622dfbb 100644 --- a/dapps/dapp-challenges/challenge-1-payment.mdx +++ b/dapps/dapp-challenges/challenge-1-payment.mdx @@ -66,8 +66,8 @@ Next, you will need to deploy the smart contracts to Testnet. To do this, open a soroban contract deploy \ --wasm target/wasm32-unknown-unknown/release/soroban_token_contract.wasm \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' ``` This will return a contract id that we will need to use in the next step. @@ -76,8 +76,8 @@ This will return a contract id that we will need to use in the next step. soroban contract invoke \ --id \ --source-account \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' \ + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' \ -- initialize \ --admin \ --decimal 7 \ @@ -101,8 +101,8 @@ Next we will need to mint some tokens to your sender's account. To do this, run soroban contract invoke \ --id \ --source-account \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' \ + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' \ -- mint \ --to \ --amount 1000000000 @@ -201,8 +201,8 @@ You can also check the balance of an account with the soroban-cli by running the soroban contract invoke \ --id \ --source-account \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' \ + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' \ -- balance \ --id ``` diff --git a/dapps/dapp-challenges/challenge-2-liquidity-pool.mdx b/dapps/dapp-challenges/challenge-2-liquidity-pool.mdx index 5ad0f814..354a3db7 100644 --- a/dapps/dapp-challenges/challenge-2-liquidity-pool.mdx +++ b/dapps/dapp-challenges/challenge-2-liquidity-pool.mdx @@ -96,7 +96,7 @@ For this step, you must change the existing contract configuration to suit a loc First, navigate to `frontend/src/contracts.ts` and change `const rpcUrl`: ```diff --const rpcUrl = 'https://rpc-futurenet.stellar.org' +-const rpcUrl = 'https://soroban-testnet.stellar.org' +const rpcUrl = 'http://localhost:8000/soroban/rpc' ``` @@ -235,7 +235,7 @@ Navigate to `frontend/src/contracts.ts` and change `const rpcUrl`: ```diff -const rpcUrl = 'http://localhost:8000/soroban/rpc' -+const rpcUrl = 'https://rpc-futurenet.stellar.org' ++const rpcUrl = 'https://soroban-testnet.stellar.org' ``` Then, change each contract network to Testnet: @@ -261,7 +261,7 @@ make start_dev Now, open your browser and visit [http://localhost:5173](http://localhost:5173/). -Ensure that Freighter is connected to Futurenet, and you should be able to see the frontend of your dapp! +Ensure that Freighter is connected to Testnet, and you should be able to see the frontend of your dapp! Next, you will remove the target directory, as it is not used by Vercel to deploy your site. To do this, run the following: @@ -351,7 +351,7 @@ You can now visit the preview link to see your deployed dapp! πŸŽ‰ -You must add Testnet network lumens to your Freighter wallet to interact with the deployed example dapp. Visit https://laboratory.stellar.org/#account-creator?network=futurenet, and follow the instructions to create your Freighter account on Futurenet. +You must add Testnet network lumens to your Freighter wallet to interact with the deployed example dapp. Visit https://laboratory.stellar.org/#account-creator?network=futurenet, and follow the instructions to create your Freighter account on Testnet. ## Checkpoint 9: βœ… Complete the Challenge! diff --git a/dapps/guides/initialization.mdx b/dapps/guides/initialization.mdx index ef125e86..2b2de9c2 100644 --- a/dapps/guides/initialization.mdx +++ b/dapps/guides/initialization.mdx @@ -38,8 +38,8 @@ After building, you're ready to deploy the smart contracts to Testnet. To do thi soroban contract deploy \ --wasm target/wasm32-unknown-unknown/release/soroban_token_contract.wasm \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' ``` This command deploys the smart contracts to Testnet using the `soroban contract deploy` function. @@ -52,8 +52,8 @@ With the contracts deployed, it's time to initialize the token contract: soroban contract invoke \ --id \ --source-account \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' \ + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' \ -- initialize \ --admin \ --decimal 7 \ @@ -79,8 +79,8 @@ Lastly, you need to mint some tokens to the sender's account: soroban contract invoke \ --id \ --source-account \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' \ + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' \ -- mint \ --to \ --amount 1000000000 @@ -115,7 +115,7 @@ else SOROBAN_RPC_HOST="http://localhost:8000" fi -SOROBAN_RPC_URL="https://rpc-futurenet.stellar.org" +SOROBAN_RPC_URL="https://soroban-testnet.stellar.org" case "$1" in standalone) @@ -125,8 +125,8 @@ standalone) ;; futurenet) echo "Using Testnet network" - SOROBAN_NETWORK_PASSPHRASE="Test SDF Future Network ; October 2022" - FRIENDBOT_URL="https://friendbot-futurenet.stellar.org/" + SOROBAN_NETWORK_PASSPHRASE="Test SDF Network ; September 2015" + FRIENDBOT_URL="https://friendbot.stellar.org/" ;; *) echo "Usage: $0 standalone|futurenet" diff --git a/docs/fundamentals-and-concepts/migrating-from-evm/smart-contract-deployment.mdx b/docs/fundamentals-and-concepts/migrating-from-evm/smart-contract-deployment.mdx index f2fd396c..5a95bc4a 100644 --- a/docs/fundamentals-and-concepts/migrating-from-evm/smart-contract-deployment.mdx +++ b/docs/fundamentals-and-concepts/migrating-from-evm/smart-contract-deployment.mdx @@ -921,7 +921,7 @@ test test::test ... ok Now that we have a working vault contract, we can deploy it to a network and interact with it. -This section requires you to have a funded Keypair to use with Stellar's Futurenet. You can create and fund one using the [Stellar Laboratory](https://laboratory.stellar.org/#account-creator?network=futurenet). +This section requires you to have a funded Keypair to use with Stellar's Testnet. You can create and fund one using the [Stellar Laboratory](https://laboratory.stellar.org/#account-creator?network=futurenet). Below you will find a series of commands that will help you build, deploy and interact with the vault and token contracts. You can use them to follow along as we walk through the process of building, deploying, and interacting with the contracts. It may behoove you to keep these commands in a `scripts` directory in your project. This way, you can easily run them from your terminal. @@ -942,8 +942,8 @@ soroban contract build soroban contract deploy \ --wasm soroban_token_contract.wasm \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' ``` @@ -955,8 +955,8 @@ soroban contract invoke \ --wasm soroban_token_contract.wasm \ --id \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' \ + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' \ -- \ initialize \ --admin \ @@ -974,8 +974,8 @@ soroban contract invoke \ --wasm soroban_token_contract.wasm \ --id \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' \ + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' \ -- \ mint \ --to \ @@ -991,8 +991,8 @@ soroban contract invoke \ --wasm soroban_token_contract.wasm \ --id \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' \ + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' \ -- \ balance \ --id @@ -1014,8 +1014,8 @@ soroban contract install --wasm soroban_token_contract.wasm soroban contract deploy \ --wasm target/wasm32-unknown-unknown/release/vault.wasm \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' ``` @@ -1027,8 +1027,8 @@ soroban contract invoke \ --wasm target/wasm32-unknown-unknown/release/vault.wasm \ --id \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' \ + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' \ -- \ initialize \ --token_wasm_hash 73593275ee3bcacc2aef8d641a1d5108618064bdfff84a826576b8caff395add \ @@ -1044,8 +1044,8 @@ soroban contract invoke \ --wasm target/wasm32-unknown-unknown/release/vault.wasm \ --id \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' \ + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' \ -- \ share_id ``` @@ -1059,8 +1059,8 @@ soroban contract invoke \ --wasm target/wasm32-unknown-unknown/release/vault.wasm \ --id \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' \ + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' \ -- \ deposit \ --from \ @@ -1076,8 +1076,8 @@ soroban contract invoke \ --wasm target/wasm32-unknown-unknown/release/vault.wasm \ --id \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' \ + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' \ -- \ get_rsrvs ``` @@ -1091,8 +1091,8 @@ soroban contract invoke \ --wasm target/wasm32-unknown-unknown/release/vault.wasm \ --id \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' \ + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' \ -- \ withdraw \ --to \ @@ -1116,8 +1116,8 @@ Next, we need to deploy the token contract. We can do this by running the `deplo soroban contract deploy \ --wasm soroban_token_contract.wasm \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' ``` We should receive an output with the token contract ID. We will need this ID for the next step. @@ -1141,8 +1141,8 @@ soroban contract invoke \ --wasm soroban_token_contract.wasm \ --id \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' \ + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' \ -- \ initialize \ --admin \ @@ -1157,8 +1157,8 @@ Next, we need to deploy the vault contract. We can do this by running the `deplo soroban contract deploy \ --wasm target/wasm32-unknown-unknown/release/vault.wasm \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' ``` We should receive an output with the vault contract ID. We will need this ID for the next step. @@ -1212,8 +1212,8 @@ soroban contract invoke \ --wasm target/wasm32-unknown-unknown/release/vault.wasm \ --id \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' \ + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' \ -- \ initialize \ --token_wasm_hash 73593275ee3bcacc2aef8d641a1d5108618064bdfff84a826576b8caff395add \ @@ -1245,8 +1245,8 @@ soroban contract invoke \ --wasm soroban_token_contract.wasm \ --id \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' \ + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' \ -- \ mint \ --to \ @@ -1260,8 +1260,8 @@ soroban contract invoke \ --wasm soroban_token_contract.wasm \ --id \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' \ + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' \ -- \ balance \ --id @@ -1280,8 +1280,8 @@ soroban contract invoke \ --wasm target/wasm32-unknown-unknown/release/vault.wasm \ --id \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' \ + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' \ -- \ deposit \ --from \ @@ -1295,8 +1295,8 @@ soroban contract invoke \ --wasm target/wasm32-unknown-unknown/release/vault.wasm \ --id \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' \ + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' \ -- \ get_rsrvs ``` @@ -1316,8 +1316,8 @@ soroban contract invoke \ --wasm target/wasm32-unknown-unknown/release/vault.wasm \ --id \ --source \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' \ + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' \ -- \ withdraw \ --to \ diff --git a/docs/fundamentals-and-concepts/state-expiration.mdx b/docs/fundamentals-and-concepts/state-expiration.mdx index cfa704b7..61bc72f2 100644 --- a/docs/fundamentals-and-concepts/state-expiration.mdx +++ b/docs/fundamentals-and-concepts/state-expiration.mdx @@ -229,7 +229,7 @@ import { FeeBumpTransaction, } from "soroban-client"; -const RPC_SERVER = "https://rpc-futurenet.stellar.org/"; +const RPC_SERVER = "https://soroban-testnet.stellar.org/"; const server = new Server(RPC_SERVER); // Submits a tx and then polls for its status until a timeout is reached. diff --git a/docs/getting-started/create-an-app.mdx b/docs/getting-started/create-an-app.mdx index 4e3a935d..b4ba58f7 100644 --- a/docs/getting-started/create-an-app.mdx +++ b/docs/getting-started/create-an-app.mdx @@ -126,7 +126,7 @@ Now let's open up `src/pages/index.astro` and add some code to call the contract + +const greeter = new Contract({ + ...networks.futurenet, -+ rpcUrl: 'https://rpc-futurenet.stellar.org', // from https://soroban.stellar.org/docs/reference/rpc#public-rpc-providers ++ rpcUrl: 'https://soroban-testnet.stellar.org', // from https://soroban.stellar.org/docs/reference/rpc#public-rpc-providers +}); + +const greeting = await greeter.hello({ to: 'Soroban' }); @@ -513,7 +513,7 @@ If you're still having problems, join our Discord (link above) or [open an issue ### All contract calls start throwing `403` errors -This means that Futurenet is down, and you probably just need to wait a while and try again. +This means that Testnet is down, and you probably just need to wait a while and try again. ## Wrapping up diff --git a/docs/getting-started/deploy-to-futurenet.mdx b/docs/getting-started/deploy-to-testnet.mdx similarity index 83% rename from docs/getting-started/deploy-to-futurenet.mdx rename to docs/getting-started/deploy-to-testnet.mdx index f5414b01..d5d89bd7 100644 --- a/docs/getting-started/deploy-to-futurenet.mdx +++ b/docs/getting-started/deploy-to-testnet.mdx @@ -1,6 +1,6 @@ --- sidebar_position: 4 -title: 3. Deploy to Futurenet +title: 3. Deploy to Testnet description: Deploy smart contracts to a live test network. --- @@ -13,24 +13,24 @@ description: Deploy smart contracts to a live test network. /> You've built two simple contracts and run them locally in Sandbox. Now you can deploy them to a network. -Soroban has a test network called Futurenet that you can use to deploy and test your contracts. Soon Soroban will also have a test network called Testnet, which will have stronger guarantees around data persistence, but you'll still be able to use Futurenet for testing the latest Soroban features. +Soroban has a test network called Testnet that you can use to deploy and test your contracts. It's a live network, but it's not the same as the Stellar public network. It's a separate network that is used for development and testing, so you can't use it for production apps. But it's a great place to test your contracts before you deploy them to the public network. -## Configure Futurenet in your CLI +## Configure Testnet in your CLI -The first step toward deploying to Futurenet is to configure your CLI to use it. You can do this by running the following command: +The first step toward deploying to testnet is to configure your CLI to use it. You can do this by running the following command: - soroban config network add --global futurenet \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ + soroban config network add --global testnet \ + --rpc-url https://soroban-testnet.stellar.org:443 \ --network-passphrase "Test SDF Future Network ; October 2022" Note the `--global`. This creates a file in your home folder's `/.config/soroban/network/futurenet.toml` with the settings you specified. This @@ -52,9 +52,9 @@ You can see the public key of `alice` with: Like the Network configs, the `--global` means that the identity gets stored in `~/.config/soroban/identity/alice.toml`. You can omit the `--global` flag to store the identity in your project's `.soroban/identity` folder instead. -All this did so far is generate a public/private keypair on your local machine. No network requests were made, and `alice` has no funds on Futurenet. This means that you can't make any transactions with `alice` yet. +All this did so far is generate a public/private keypair on your local machine. No network requests were made, and `alice` has no funds on Testnet. This means that you can't make any transactions with `alice` yet. -To get `alice` some Futurenet tokens, you'll need to use [Friendbot](https://developers.stellar.org/docs/fundamentals-and-concepts/testnet-and-pubnet#friendbot). All Stellar and Soroban test networks have a Friendbot that you can use to get some test tokens. The public Friendbot instance for Futurenet lives at `friendbot-futurenet.stellar.org`. Use it: +To get `alice` some Testnet tokens, you'll need to use [Friendbot](https://developers.stellar.org/docs/fundamentals-and-concepts/testnet-and-pubnet#friendbot). All Stellar and Soroban test networks have a Friendbot that you can use to get some test tokens. The public Friendbot instance for Testnet lives at `friendbot-futurenet.stellar.org`. Use it: curl "https://friendbot-futurenet.stellar.org/?addr=$(soroban config identity address alice)" @@ -81,7 +81,7 @@ You may need to create the `.soroban` folder first with `mkdir .soroban`. ## Interact -This should look a lot like interacting with the contract in the Sandbox, as you did in [1. Hello World](./hello-world.mdx). Only now the contract lives on the Futurenet network, and the CLI is making [RPC](../reference/rpc.mdx) calls in the background. Let's try it: +This should look a lot like interacting with the contract in the Sandbox, as you did in [1. Hello World](./hello-world.mdx). Only now the contract lives on the Testnet network, and the CLI is making [RPC](../reference/rpc.mdx) calls in the background. Let's try it: ```bash soroban contract invoke \ @@ -155,7 +155,7 @@ soroban contract invoke \ Sometimes you'll need to run your own node: - Production apps! It's a bad idea to rely on the public, Stellar-maintained Soroban RPC endpoint. Instead, you should run your own node, and point your app at that. -- When you need a network that differs from the version deployed to Futurenet. +- When you need a network that differs from the version deployed to Testnet. The Soroban team maintains Docker containers that makes this as straightforward as possible. See the [RPC](../reference/rpc.mdx) reference for details. diff --git a/docs/getting-started/storing-data.mdx b/docs/getting-started/storing-data.mdx index 0b37211d..d03aad97 100644 --- a/docs/getting-started/storing-data.mdx +++ b/docs/getting-started/storing-data.mdx @@ -339,4 +339,4 @@ git commit -m "add incrementor contract" In this section, we added a new contract to this project, reorganizing the project as a multi-contract project using Cargo Workspaces. The new contract made use of Soroban's storage capabilities to store and retrieve data. We also learned about the different kinds of storage and how to manage their lifetimes. -Next we'll learn to deploy contracts to Soroban's Futurenet network and interact with them over RPC using the CLI. +Next we'll learn to deploy contracts to Soroban's Testnet network and interact with them over RPC using the CLI. diff --git a/docs/reference/releases.mdx b/docs/reference/releases.mdx index 77f981b0..880b4bea 100644 --- a/docs/reference/releases.mdx +++ b/docs/reference/releases.mdx @@ -10,11 +10,11 @@ We’re releasing early versions of Soroban because we believe it’s important :::caution -Preview releases are software releases that are also released to the [Futurenet] test network. Software releases may occur between Futurenet releases. If you're interacting with Futurenet the recommended software versions to use in development are below. Releases to Futurenet may include network resets and network passphrase changes. +Preview releases are software releases that are also released to the [Testnet] test network. Software releases may occur between Testnet releases. If you're interacting with Testnet the recommended software versions to use in development are below. Releases to Testnet may include network resets and network passphrase changes. ::: -[Futurenet]: testnet +[Testnet]: testnet ## Preview 11 (September 11, 2023): Testnet and Futurenet Edition @@ -38,7 +38,7 @@ Preview releases are software releases that are also released to the [Futurenet] | Laboratory | `2.12.0` | | Soroban React Payment dapp | `TBD` | | Soroban Mint Token dapp | `TBD` | -| Futurenet Network Passphrase | `Test SDF Future Network ; October 2022` | +| Testnet Network Passphrase | `Test SDF Network ; September 2015` | ### Changelog diff --git a/docs/reference/rpc.mdx b/docs/reference/rpc.mdx index 64895dcf..44234853 100644 --- a/docs/reference/rpc.mdx +++ b/docs/reference/rpc.mdx @@ -100,13 +100,13 @@ And you'll want to configure it for use with the `--network` flag in Soroban CLI soroban config network add futurenet \ --rpc-url "http://localhost:8000/soroban/rpc" \ - --network-passphrase "Test SDF Future Network ; October 2022" + --network-passphrase "Test SDF Network ; September 2015" Replace `futurenet` in that command with the name of your choice, if you want to leave the name `futurenet` available for use with a public RPC provider (see below). Or make clever use of `--global` configs for public providers and local configs (made with the undecorated `network add` command above) for local nodes. The `alice` identity suggested for your Standalone network will still work here, since it's just a public/private keypair, but you'll need to remember to fund it for the Testnet network: - curl "https://friendbot-futurenet.stellar.org/?addr=$(soroban config identity address alice)" + curl "https://friendbot.stellar.org/?addr=$(soroban config identity address alice)" Now you can replace `--network standalone` with `--network futurenet` (or whatever you named it) in all your commands that need a network, like the `deploy` and `invoke` shown above. @@ -211,12 +211,12 @@ helm template my-rpc stellar/soroban-rpc You can configure Soroban CLI to use remote RPC endpoint: soroban config network add --global futurenet \ - --rpc-url https://rpc-futurenet.stellar.org:443 \ - --network-passphrase 'Test SDF Future Network ; October 2022' + --rpc-url https://soroban-testnet.stellar.org:443 \ + --network-passphrase 'Test SDF Network ; September 2015' And fund your accounts/identities with the publicly hosted Friendbot: - curl "https://friendbot-futurenet.stellar.org/?addr=$(soroban config identity address alice)" + curl "https://friendbot.stellar.org/?addr=$(soroban config identity address alice)" See the tip above about command expansion (the `$(…)` stuff) if you're not using a bash-based shell. diff --git a/docs/reference/testnet.mdx b/docs/reference/testnet.mdx index efdf5be0..70a1daf1 100644 --- a/docs/reference/testnet.mdx +++ b/docs/reference/testnet.mdx @@ -8,7 +8,7 @@ Testnet is available as the first shared test network to enable developers to le | Testnet | | | :----------------- | ---------------------------------------- | -| Network Passphrase | `Test SDF Future Network ; October 2022` | +| Network Passphrase | `Test SDF Network ; September 2015` | | Horizon API | https://horizon-futurenet.stellar.org | | Friendbot API | https://friendbot-futurenet.stellar.org | | Validator | `core-live-futurenet.stellar.org` | diff --git a/src/components/ExampleRequest/index.js b/src/components/ExampleRequest/index.js index 09c255e6..e47a1af5 100644 --- a/src/components/ExampleRequest/index.js +++ b/src/components/ExampleRequest/index.js @@ -30,14 +30,14 @@ export default function ExampleRequest(props) { {`curl -X POST \\ -H 'Content-Type: application/json' \\ -d '${JSON.stringify(requestObject, null, 2)}' \\ -https://rpc-futurenet.stellar.org | jq`} +https://soroban-testnet.stellar.org | jq`} {`let requestObject = ${JSON.stringify(requestObject, null, 2)} -let res = await fetch('https://rpc-futurenet.stellar.org', { +let res = await fetch('https://soroban-testnet.stellar.org', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(requestObject), @@ -50,7 +50,7 @@ console.log(json)`} {`import json, requests -res = requests.post('https://rpc-futurenet.stellar.org', json=${JSON.stringify(requestObject, null, 4)}) +res = requests.post('https://soroban-testnet.stellar.org', json=${JSON.stringify(requestObject, null, 4)}) print(json.dumps(res.json(), indent=2))`} diff --git a/src/components/atoms/ProviderExample.tsx b/src/components/atoms/ProviderExample.tsx index d78c2f74..0d5b5406 100644 --- a/src/components/atoms/ProviderExample.tsx +++ b/src/components/atoms/ProviderExample.tsx @@ -1,11 +1,11 @@ import React from 'react' import {SorobanReactProvider} from '@soroban-react/core'; import {SorobanEventsProvider} from '@soroban-react/events'; -import {futurenet, sandbox, standalone} from '@soroban-react/chains'; +import {futurenet, sandbox, standalone, testnet} from '@soroban-react/chains'; import {freighter} from '@soroban-react/freighter'; import {ChainMetadata, Connector} from "@soroban-react/types"; -const chains: ChainMetadata[] = [sandbox, standalone, futurenet]; +const chains: ChainMetadata[] = [sandbox, standalone, futurenet, testnet]; const connectors: Connector[] = [freighter()]; export default function ProviderExample({children}:{children: React.ReactNode}) { diff --git a/src/components/atoms/challenge-form/index.tsx b/src/components/atoms/challenge-form/index.tsx index cba6ecd1..11ef913d 100644 --- a/src/components/atoms/challenge-form/index.tsx +++ b/src/components/atoms/challenge-form/index.tsx @@ -140,15 +140,15 @@ function InnerComponent({ id }: { id: number }) { useEffect(() => { if (activeChain) { - if (activeChain.name?.toString() !== "Futurenet") { - alert("Please ensure that you are connected to Futurenet"); + if (activeChain.name?.toString() !== "Testnet") { + alert("Please ensure that you are connected to Testnet"); setLoading(true); } if (activeChain.name?.toString() === undefined) { - alert("Please ensure that you are connected to Futurenet"); + alert("Please ensure that you are connected to Testnet"); setLoading(true); } - if (activeChain.name?.toString() === "Futurenet" && address) { + if (activeChain.name?.toString() === "Testnet" && address) { setLoading(false); } } @@ -158,7 +158,7 @@ function InnerComponent({ id }: { id: number }) { if (loading) { return (
- Please connect to Futurenet network. + Please connect to Testnet network.
); @@ -170,7 +170,7 @@ function InnerComponent({ id }: { id: number }) { export function ParentChallengeForm({ id }: { id: number }) { return ( - Please connect to Futurenet network.}> + Please connect to Testnet network.}> {() => } diff --git a/src/pages/index.js b/src/pages/index.js index 147e4b1e..1ae15e99 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -54,8 +54,7 @@ const Hero = () => (

A developer-friendly, Rust-based smart contracts platform designed for - scale and sensibility. Currently live on the test network - dubbed Futurenet, Soroban seamlessly integrates with and works + scale and sensibility. Currently live on Testnet, Soroban seamlessly integrates with and works alongside the existing Stellar blockchain.

@@ -207,16 +206,16 @@ const GettingStarted = () => (