diff --git a/crates/iota-analytics-indexer/src/lib.rs b/crates/iota-analytics-indexer/src/lib.rs index a2d4b25b894..eaef0cbd712 100644 --- a/crates/iota-analytics-indexer/src/lib.rs +++ b/crates/iota-analytics-indexer/src/lib.rs @@ -109,7 +109,7 @@ pub struct AnalyticsIndexerConfig { pub file_type: FileType, #[clap( long, - default_value = "https://checkpoints.mainnet.iota.io", + default_value = "https://checkpoints.mainnet.iota.cafe", global = true )] pub remote_store_url: String, diff --git a/crates/iota-cluster-test/src/cluster.rs b/crates/iota-cluster-test/src/cluster.rs index 3c1d993f992..edf61868092 100644 --- a/crates/iota-cluster-test/src/cluster.rs +++ b/crates/iota-cluster-test/src/cluster.rs @@ -34,16 +34,10 @@ use tracing::info; use super::config::{ClusterTestOpt, Env}; -const DEVNET_FAUCET_ADDR: &str = "https://faucet.devnet.iota.io:443"; -const STAGING_FAUCET_ADDR: &str = "https://faucet.staging.iota.io:443"; -const CONTINUOUS_FAUCET_ADDR: &str = "https://faucet.ci.iota.io:443"; -const CONTINUOUS_NOMAD_FAUCET_ADDR: &str = "https://faucet.nomad.ci.iota.io:443"; -const TESTNET_FAUCET_ADDR: &str = "https://faucet.testnet.iota.io:443"; -const DEVNET_FULLNODE_ADDR: &str = "https://rpc.devnet.iota.io:443"; -const STAGING_FULLNODE_ADDR: &str = "https://fullnode.staging.iota.io:443"; -const CONTINUOUS_FULLNODE_ADDR: &str = "https://fullnode.ci.iota.io:443"; -const CONTINUOUS_NOMAD_FULLNODE_ADDR: &str = "https://fullnode.nomad.ci.iota.io:443"; -const TESTNET_FULLNODE_ADDR: &str = "https://fullnode.testnet.iota.io:443"; +const DEVNET_FAUCET_ADDR: &str = "https://faucet.devnet.iota.cafe:443"; +const TESTNET_FAUCET_ADDR: &str = "https://faucet.testnet.iota.cafe:443"; +const DEVNET_FULLNODE_ADDR: &str = "https://api.devnet.iota.cafe:443"; +const TESTNET_FULLNODE_ADDR: &str = "https://api.testnet.iota.cafe:443"; pub struct ClusterFactory; @@ -94,18 +88,6 @@ impl Cluster for RemoteRunningCluster { String::from(DEVNET_FULLNODE_ADDR), String::from(DEVNET_FAUCET_ADDR), ), - Env::Staging => ( - String::from(STAGING_FULLNODE_ADDR), - String::from(STAGING_FAUCET_ADDR), - ), - Env::Ci => ( - String::from(CONTINUOUS_FULLNODE_ADDR), - String::from(CONTINUOUS_FAUCET_ADDR), - ), - Env::CiNomad => ( - String::from(CONTINUOUS_NOMAD_FULLNODE_ADDR), - String::from(CONTINUOUS_NOMAD_FAUCET_ADDR), - ), Env::Testnet => ( String::from(TESTNET_FULLNODE_ADDR), String::from(TESTNET_FAUCET_ADDR), diff --git a/crates/iota-cluster-test/src/config.rs b/crates/iota-cluster-test/src/config.rs index 85814590fab..29beab71456 100644 --- a/crates/iota-cluster-test/src/config.rs +++ b/crates/iota-cluster-test/src/config.rs @@ -11,9 +11,6 @@ use regex::Regex; #[derive(Parser, Clone, ValueEnum, Debug)] pub enum Env { Devnet, - Staging, - Ci, - CiNomad, Testnet, CustomRemote, NewLocal, diff --git a/crates/iota-config/src/lib.rs b/crates/iota-config/src/lib.rs index bdb16c8865f..b098549321a 100644 --- a/crates/iota-config/src/lib.rs +++ b/crates/iota-config/src/lib.rs @@ -35,7 +35,7 @@ pub const IOTA_KEYSTORE_ALIASES_FILENAME: &str = "iota.aliases"; pub const IOTA_BENCHMARK_GENESIS_GAS_KEYSTORE_FILENAME: &str = "benchmark.keystore"; pub const IOTA_GENESIS_FILENAME: &str = "genesis.blob"; pub const IOTA_GENESIS_MIGRATION_TX_DATA_FILENAME: &str = "migration.blob"; -pub const IOTA_DEV_NET_URL: &str = "https://fullnode.devnet.iota.io:443"; +pub const IOTA_DEV_NET_URL: &str = "https://api.devnet.iota.cafe:443"; pub const AUTHORITIES_DB_NAME: &str = "authorities_db"; pub const CONSENSUS_DB_NAME: &str = "consensus_db"; diff --git a/crates/iota-config/src/node.rs b/crates/iota-config/src/node.rs index a667163af7d..441daddea72 100644 --- a/crates/iota-config/src/node.rs +++ b/crates/iota-config/src/node.rs @@ -311,7 +311,7 @@ pub fn default_zklogin_oauth_providers() -> BTreeMap> { fn default_transaction_kv_store_config() -> TransactionKeyValueStoreReadConfig { TransactionKeyValueStoreReadConfig { - base_url: "https://transactions.iota.io/".to_string(), + base_url: "https://transactions.iota.cafe/".to_string(), } } diff --git a/crates/iota-e2e-tests/tests/passkey_e2e_tests.rs b/crates/iota-e2e-tests/tests/passkey_e2e_tests.rs index 82c9c4a9d91..5a2053a136a 100644 --- a/crates/iota-e2e-tests/tests/passkey_e2e_tests.rs +++ b/crates/iota-e2e-tests/tests/passkey_e2e_tests.rs @@ -97,7 +97,7 @@ async fn create_credential_and_sign_test_tx( let store: Option = None; let my_authenticator = Authenticator::new(my_aaguid, store, user_validation_method); let mut my_client = Client::new(my_authenticator); - let origin = Url::parse("https://www.iota.io").unwrap(); + let origin = Url::parse("https://www.iota.org").unwrap(); // Create credential. let challenge_bytes_from_rp: Bytes = random_vec(32).into(); diff --git a/crates/iota-indexer/README.md b/crates/iota-indexer/README.md index b7126faad67..cfecc4b92b9 100644 --- a/crates/iota-indexer/README.md +++ b/crates/iota-indexer/README.md @@ -63,13 +63,13 @@ To run the indexer as a standalone service with an existing fullnode, follow the ```sh # Change the RPC_CLIENT_URL to http://0.0.0.0:9000 to run indexer against local validator & fullnode -cargo run --bin iota-indexer -- --db-url "postgres://postgres:postgrespw@localhost/iota_indexer" --rpc-client-url "https://fullnode.devnet.iota.io:443" --fullnode-sync-worker --reset-db +cargo run --bin iota-indexer -- --db-url "postgres://postgres:postgrespw@localhost/iota_indexer" --rpc-client-url "https://api.devnet.iota.cafe:443" --fullnode-sync-worker --reset-db ``` - to run indexer as a reader which exposes a JSON RPC service with following [APIs](https://docs.iota.org/iota-api-ref). ``` -cargo run --bin iota-indexer -- --db-url "postgres://postgres:postgrespw@localhost/iota_indexer" --rpc-client-url "https://fullnode.devnet.iota.io:443" --rpc-server-worker +cargo run --bin iota-indexer -- --db-url "postgres://postgres:postgrespw@localhost/iota_indexer" --rpc-client-url "https://api.devnet.iota.cafe:443" --rpc-server-worker ``` More available flags can be found in this [file](https://github.com/iotaledger/iota/blob/develop/crates/iota-indexer/src/lib.rs). @@ -171,5 +171,5 @@ Note that you need an existing database for this to work. Using the DATABASE_URL ```sh # Change the RPC_CLIENT_URL to http://0.0.0.0:9000 to run indexer against local validator & fullnode -cargo run --bin iota-indexer --features mysql-feature --no-default-features -- --db-url "" --rpc-client-url "https://fullnode.devnet.iota.io:443" --fullnode-sync-worker --reset-db +cargo run --bin iota-indexer --features mysql-feature --no-default-features -- --db-url "" --rpc-client-url "https://api.devnet.iota.cafe:443" --fullnode-sync-worker --reset-db ``` diff --git a/crates/iota-indexer/src/lib.rs b/crates/iota-indexer/src/lib.rs index 4593d1b75f2..76d1696c44d 100644 --- a/crates/iota-indexer/src/lib.rs +++ b/crates/iota-indexer/src/lib.rs @@ -67,7 +67,7 @@ pub struct IndexerConfig { pub db_name: Option, #[clap(long, default_value = "http://0.0.0.0:9000", global = true)] pub rpc_client_url: String, - #[clap(long, default_value = Some("https://checkpoints.mainnet.iota.io"), global = true)] + #[clap(long, default_value = Some("https://checkpoints.mainnet.iota.cafe"), global = true)] pub remote_store_url: Option, #[clap(long, default_value = "0.0.0.0", global = true)] pub client_metric_host: String, @@ -149,7 +149,7 @@ impl Default for IndexerConfig { db_port: None, db_name: None, rpc_client_url: "http://127.0.0.1:9000".to_string(), - remote_store_url: Some("https://checkpoints.mainnet.iota.io".to_string()), + remote_store_url: Some("https://checkpoints.mainnet.iota.cafe".to_string()), client_metric_host: "0.0.0.0".to_string(), client_metric_port: 9184, rpc_server_url: "0.0.0.0".to_string(), diff --git a/crates/iota-json-rpc/src/lib.rs b/crates/iota-json-rpc/src/lib.rs index 4332692fac1..26db25d957a 100644 --- a/crates/iota-json-rpc/src/lib.rs +++ b/crates/iota-json-rpc/src/lib.rs @@ -70,8 +70,8 @@ pub struct JsonRpcServerBuilder { pub fn iota_rpc_doc(version: &str) -> Project { Project::new( version, - "Iota JSON-RPC", - "Iota JSON-RPC API for interaction with Iota Full node. Make RPC calls using https://fullnode.NETWORK.iota.io:443, where NETWORK is the network you want to use (testnet, devnet, mainnet). By default, local networks use port 9000.", + "IOTA JSON-RPC", + "IOTA JSON-RPC API for interaction with Iota Full node. Make RPC calls using https://api.NETWORK.iota.cafe:443, where NETWORK is the network you want to use (testnet, devnet, mainnet). By default, local networks use port 9000.", "IOTA Foundation", "https://iota.org", "info@iota.org", diff --git a/crates/iota-light-client/README.md b/crates/iota-light-client/README.md index 917a59a5213..4564de9edb5 100644 --- a/crates/iota-light-client/README.md +++ b/crates/iota-light-client/README.md @@ -23,7 +23,7 @@ The light client requires a config file and a directory to cache checkpoints, an The config file for the light client takes a URL for a full node, a directory (that must exist) and within the directory to name of the genesis blob for the Iota network. ``` -full_node_url: "http://ord-mnt-rpcbig-06.mainnet.iota.io:9000" +full_node_url: "https://api.testnet.iota.cafe:443" checkpoint_summary_dir: "checkpoints_dir" genesis_filename: "genesis.blob" ``` diff --git a/crates/iota-metric-checker/README.md b/crates/iota-metric-checker/README.md index 599b271d082..cc7d0e90947 100644 --- a/crates/iota-metric-checker/README.md +++ b/crates/iota-metric-checker/README.md @@ -5,7 +5,7 @@ The `iota-metric-checker` crate is used for querying prometheus metrics and vali ### Example Usage ``` -RUST_LOG=debug cargo run --package iota-metric-checker --bin iota-metric-checker -- --api-key xxxxxxxx --api-user xxxx_metrics --config checks.yaml --url https://xxxx.iota.io/prometheus +RUST_LOG=debug cargo run --package iota-metric-checker --bin iota-metric-checker -- --api-key xxxxxxxx --api-user xxxx_metrics --config checks.yaml --url https://xxxx.iota.cafe/prometheus ``` ### Example Config diff --git a/crates/iota-node/src/main.rs b/crates/iota-node/src/main.rs index b15ad961bfe..debd3a54968 100644 --- a/crates/iota-node/src/main.rs +++ b/crates/iota-node/src/main.rs @@ -81,7 +81,7 @@ fn main() { drop(metrics_rt); - info!("Iota Node version: {VERSION}"); + info!("IOTA Node version: {VERSION}"); info!( "Supported protocol versions: {:?}", config.supported_protocol_versions diff --git a/crates/iota-open-rpc/spec/openrpc.json b/crates/iota-open-rpc/spec/openrpc.json index 95f08307724..e87b68d3ced 100644 --- a/crates/iota-open-rpc/spec/openrpc.json +++ b/crates/iota-open-rpc/spec/openrpc.json @@ -1,8 +1,8 @@ { "openrpc": "1.2.6", "info": { - "title": "Iota JSON-RPC", - "description": "Iota JSON-RPC API for interaction with Iota Full node. Make RPC calls using https://fullnode.NETWORK.iota.io:443, where NETWORK is the network you want to use (testnet, devnet, mainnet). By default, local networks use port 9000.", + "title": "IOTA JSON-RPC", + "description": "IOTA JSON-RPC API for interaction with Iota Full node. Make RPC calls using https://api.NETWORK.iota.cafe:443, where NETWORK is the network you want to use (testnet, devnet, mainnet). By default, local networks use port 9000.", "contact": { "name": "IOTA Foundation", "url": "https://iota.org", diff --git a/crates/iota-replay/src/config.rs b/crates/iota-replay/src/config.rs index 8186b3c2f2b..ee5d74b64d2 100644 --- a/crates/iota-replay/src/config.rs +++ b/crates/iota-replay/src/config.rs @@ -122,7 +122,7 @@ impl Default for ReplayableNetworkConfigSet { name: "mainnet".to_string(), epoch_zero_start_timestamp: 0, epoch_zero_rgp: 0, - public_full_node: url_from_str("https://fullnode.mainnet.iota.io:443") + public_full_node: url_from_str("https://api.mainnet.iota.cafe") .expect("invalid socket address") .to_string(), }; diff --git a/crates/iota-rosetta/README.md b/crates/iota-rosetta/README.md index ae79306cb62..d5d9a86af67 100644 --- a/crates/iota-rosetta/README.md +++ b/crates/iota-rosetta/README.md @@ -1,4 +1,4 @@ -# Rosetta API for Iota +# Rosetta API for IOTA [Rosetta](https://www.rosetta-api.org/docs/welcome.html) is an open-source specification and set of tools for blockchain integration. Rosetta’s goal is to make blockchain integration simpler, faster, and more reliable than using a native @@ -6,7 +6,7 @@ integration. ## Overview -Iota-Rosetta is an implementation of the Rosetta API for the Iota network, the Iota-Rosetta server uses the Iota fullnode to +Iota-Rosetta is an implementation of the Rosetta API for the Iota network, the Iota-Rosetta server uses the IOTA fullnode to read and write transactions to the Iota network. ## Local network quick start @@ -15,12 +15,12 @@ read and write transactions to the Iota network. #### 0. Checkout and build Iota -Checkout the [Iota source code](https://github.com/iotaledger/iota) and compile using `cargo build --release`, the binaries will be located in `target/release` directory. +Checkout the [IOTA source code](https://github.com/iotaledger/iota) and compile using `cargo build --release`, the binaries will be located in `target/release` directory. #### 1. Genesis `./iota genesis -f` -The Iota genesis process will create configs and coins for testing, the config files are stored in `~/.iota/iota_config` by +The IOTA genesis process will create configs and coins for testing, the config files are stored in `~/.iota/iota_config` by default. #### 2. Start local network diff --git a/crates/iota-source-validation-service/src/lib.rs b/crates/iota-source-validation-service/src/lib.rs index e7ad95b1883..88b61406525 100644 --- a/crates/iota-source-validation-service/src/lib.rs +++ b/crates/iota-source-validation-service/src/lib.rs @@ -46,14 +46,14 @@ pub const HOST_PORT_ENV: &str = "HOST_PORT"; pub const IOTA_SOURCE_VALIDATION_VERSION_HEADER: &str = "x-iota-source-validation-version"; pub const IOTA_SOURCE_VALIDATION_VERSION: &str = "0.1"; -pub const MAINNET_URL: &str = "https://fullnode.mainnet.iota.io:443"; -pub const TESTNET_URL: &str = "https://fullnode.testnet.iota.io:443"; -pub const DEVNET_URL: &str = "https://fullnode.devnet.iota.io:443"; +pub const MAINNET_URL: &str = "https://api.mainnet.iota.cafe:443"; +pub const TESTNET_URL: &str = "https://api.testnet.iota.cafe:443"; +pub const DEVNET_URL: &str = "https://api.devnet.iota.cafe:443"; pub const LOCALNET_URL: &str = "http://127.0.0.1:9000"; -pub const MAINNET_WS_URL: &str = "wss://rpc.mainnet.iota.io:443"; -pub const TESTNET_WS_URL: &str = "wss://rpc.testnet.iota.io:443"; -pub const DEVNET_WS_URL: &str = "wss://rpc.devnet.iota.io:443"; +pub const MAINNET_WS_URL: &str = "wss://api.mainnet.iota.cafe:443"; +pub const TESTNET_WS_URL: &str = "wss://api.testnet.iota.cafe:443"; +pub const DEVNET_WS_URL: &str = "wss://api.devnet.iota.cafe:443"; pub const LOCALNET_WS_URL: &str = "ws://127.0.0.1:9000"; pub const WS_PING_INTERVAL: Duration = Duration::from_millis(20_000); diff --git a/crates/iota-storage/src/bin/http_kv_tool.rs b/crates/iota-storage/src/bin/http_kv_tool.rs index 10f3cf35330..ad312984070 100644 --- a/crates/iota-storage/src/bin/http_kv_tool.rs +++ b/crates/iota-storage/src/bin/http_kv_tool.rs @@ -24,8 +24,8 @@ use iota_types::{ #[derive(Parser)] #[command(rename_all = "kebab-case")] struct Options { - // default value of 'https://transactions.iota.io/' - #[arg(short, long, default_value = "https://transactions.iota.io/mainnet")] + // default value of 'https://transactions.iota.cafe/' + #[arg(short, long, default_value = "https://transactions.iota.cafe/mainnet")] base_url: String, #[arg(short, long)] diff --git a/crates/iota-types/src/unit_tests/passkey_authenticator_test.rs b/crates/iota-types/src/unit_tests/passkey_authenticator_test.rs index 41645f17c22..ee900ade7a4 100644 --- a/crates/iota-types/src/unit_tests/passkey_authenticator_test.rs +++ b/crates/iota-types/src/unit_tests/passkey_authenticator_test.rs @@ -206,7 +206,7 @@ fn make_credential_creation_option(origin: &Url) -> CredentialCreationOptions { #[tokio::test] async fn test_passkey_serde() { - let origin = Url::parse("https://www.iota.io").unwrap(); + let origin = Url::parse("https://www.iota.org").unwrap(); let request = make_credential_creation_option(&origin); let response = create_credential_and_sign_test_tx(&origin, request).await; @@ -231,7 +231,7 @@ async fn test_passkey_serde() { #[tokio::test] async fn test_passkey_authenticator() { - let origin = Url::parse("https://www.iota.io").unwrap(); + let origin = Url::parse("https://www.iota.org").unwrap(); let request = make_credential_creation_option(&origin); let response = create_credential_and_sign_test_tx(&origin, request).await; @@ -256,7 +256,7 @@ async fn test_passkey_authenticator() { #[tokio::test] async fn test_passkey_fails_invalid_json() { - let origin = Url::parse("https://www.iota.io").unwrap(); + let origin = Url::parse("https://www.iota.org").unwrap(); let request = make_credential_creation_option(&origin); let response = create_credential_and_sign_test_tx(&origin, request).await; let client_data_json_missing_type = r#"{"challenge":"9-fH7nX8Nb1JvUynz77mv1kXOkGkg1msZb2qhvZssGI","origin":"http://localhost:5173","crossOrigin":false}"#; @@ -310,7 +310,7 @@ async fn test_passkey_fails_invalid_json() { #[tokio::test] async fn test_passkey_fails_invalid_challenge() { - let origin = Url::parse("https://www.iota.io").unwrap(); + let origin = Url::parse("https://www.iota.org").unwrap(); let request = make_credential_creation_option(&origin); let response = create_credential_and_sign_test_tx(&origin, request).await; let fake_client_data_json = r#"{"type":"webauthn.get","challenge":"wrong_base64_encoding","origin":"http://localhost:5173","crossOrigin":false}"#; @@ -328,7 +328,7 @@ async fn test_passkey_fails_invalid_challenge() { #[tokio::test] async fn test_passkey_fails_wrong_client_data_type() { - let origin = Url::parse("https://www.iota.io").unwrap(); + let origin = Url::parse("https://www.iota.org").unwrap(); let request = make_credential_creation_option(&origin); let response = create_credential_and_sign_test_tx(&origin, request).await; let fake_client_data_json = r#"{"type":"webauthn.create","challenge":"9-fH7nX8Nb1JvUynz77mv1kXOkGkg1msZb2qhvZssGI","origin":"http://localhost:5173","crossOrigin":false}"#; diff --git a/crates/iota/src/fire_drill.rs b/crates/iota/src/fire_drill.rs index 371ccc33407..787ca8d05e7 100644 --- a/crates/iota/src/fire_drill.rs +++ b/crates/iota/src/fire_drill.rs @@ -76,7 +76,7 @@ async fn run_metadata_rotation(metadata_rotation: MetadataRotation) -> anyhow::R let account_key = read_keypair_from_file(&account_key_path)?; let config: NodeConfig = PersistedConfig::read(&iota_node_config_path).map_err(|err| { err.context(format!( - "Cannot open Iota Node Config file at {:?}", + "Cannot open IOTA Node Config file at {:?}", iota_node_config_path )) })?; @@ -103,7 +103,7 @@ async fn run_metadata_rotation(metadata_rotation: MetadataRotation) -> anyhow::R // Replace new config std::fs::rename(new_config_path, iota_node_config_path)?; - info!("Updated Iota Node config."); + info!("Updated IOTA Node config."); Ok(()) } diff --git a/docker/iota-node-deterministic/README.md b/docker/iota-node-deterministic/README.md index d3525f10f2e..079cb42cef1 100644 --- a/docker/iota-node-deterministic/README.md +++ b/docker/iota-node-deterministic/README.md @@ -1,4 +1,4 @@ -# Iota Node Deterministic Build +# IOTA Node Deterministic Build ## General Requirements diff --git a/docker/iota-rosetta-devnet/remote/docker-compose.yaml b/docker/iota-rosetta-devnet/remote/docker-compose.yaml index dd51a0352ea..37916a901e2 100644 --- a/docker/iota-rosetta-devnet/remote/docker-compose.yaml +++ b/docker/iota-rosetta-devnet/remote/docker-compose.yaml @@ -13,7 +13,7 @@ services: - -c - | /usr/local/bin/iota-rosetta generate-rosetta-cli-config --env devnet & - /usr/local/bin/iota-rosetta start-online-remote-server --env devnet --genesis-path genesis.blob --full-node-url https://fullnode.devnet.iota.io:443 + /usr/local/bin/iota-rosetta start-online-remote-server --env devnet --genesis-path genesis.blob --full-node-url https://api.devnet.iota.cafe:443 stdin_open: true tty: true rosetta-offline: diff --git a/docs/content/references/iota-graphql.mdx b/docs/content/references/iota-graphql.mdx index 1e1ca11bf4c..cefbb5b5fc2 100644 --- a/docs/content/references/iota-graphql.mdx +++ b/docs/content/references/iota-graphql.mdx @@ -3,7 +3,7 @@ title: GraphQL for IOTA RPC description: GraphQL is a public service for the IOTA RPC that enables you to efficiently interact with the IOTA network. --- -GraphQL for the IOTA RPC is a public service that enables interacting with the IOTA [network](https://iota.io/networkinfo). +GraphQL for the IOTA RPC is a public service that enables interacting with the IOTA [network](https://iota.org). To get started with GraphQL for the IOTA RPC, check out the [Getting Started](../developer/getting-started/graphql-rpc.mdx) guide. If you'd like to learn more about the concepts used in the GraphQL service, check out the [GraphQL](../developer/graphql-rpc.mdx) for IOTA RPC concepts page. diff --git a/examples/custom-indexer/rust/remote_reader.rs b/examples/custom-indexer/rust/remote_reader.rs index 6837fb45c00..84d573188b6 100644 --- a/examples/custom-indexer/rust/remote_reader.rs +++ b/examples/custom-indexer/rust/remote_reader.rs @@ -26,7 +26,7 @@ impl Worker for CustomWorker { async fn main() -> Result<()> { let (executor, _) = setup_single_workflow( CustomWorker, - "https://checkpoints.testnet.iota.io".to_string(), + "https://checkpoints.testnet.iota.cafe".to_string(), 0, // initial checkpoint number 5, // concurrency None, // extra reader options diff --git a/nre/README.md b/nre/README.md index 7ab95c31b2b..036ba18d2e9 100644 --- a/nre/README.md +++ b/nre/README.md @@ -4,11 +4,11 @@ This repo contains: -- [Iota for Node Operators](./iota_for_node_operators.md) - This documentation aggregates all the information about deploying and operating the Iota Node software for Node Operators. +- [IOTA for Node Operators](./iota_for_node_operators.md) - This documentation aggregates all the information about deploying and operating the IOTA Node software for Node Operators. - `ansible/` - An ansible playbook for standing up your node. Successful execution of the playbook will result in a systemd managed process running iota-node. You can use this or just consult the steps when provisioning your node. -- `config/` - Iota Node configuration templates. +- `config/` - IOTA Node configuration templates. - `docker/` - A docker compose configuration for standing up your node. You can use this or just consult the steps when provisioning your node. diff --git a/nre/ansible/README.md b/nre/ansible/README.md index 5b2d0d3893b..5c1791b9987 100644 --- a/nre/ansible/README.md +++ b/nre/ansible/README.md @@ -1,6 +1,6 @@ -# Configure a Linux system as a Iota Node using Ansible +# Configure a Linux system as a IOTA Node using Ansible -This is a self contained Ansible role for configuring a Linux system as a Iota Node. +This is a self-contained Ansible role for configuring a Linux system as an IOTA Node. Tested with `ansible [core 2.13.4]` and: @@ -17,7 +17,7 @@ Tested with `ansible [core 2.13.4]` and: 4. Update [validator.yaml](../config/validator.yaml) and copy it to this directory. -5. Copy the genesis.blob to this directory (should be available after the Genesis ceremony). +5. Copy the `genesis.blob` to this directory (see [Genesis](https://docs.iota.org/operator/genesis)). 6. Update the `keypair_path` var in the [Ansible Inventory](./inventory.yaml) diff --git a/nre/ansible/roles/iota-node/files/iota-node.service b/nre/ansible/roles/iota-node/files/iota-node.service index 76512d92601..d6870d55efa 100644 --- a/nre/ansible/roles/iota-node/files/iota-node.service +++ b/nre/ansible/roles/iota-node/files/iota-node.service @@ -1,5 +1,5 @@ [Unit] -Description=Iota Node +Description=IOTA Node [Service] User=iota diff --git a/nre/docker/README.md b/nre/docker/README.md index bc80d87cca3..0c06d997226 100644 --- a/nre/docker/README.md +++ b/nre/docker/README.md @@ -1,4 +1,4 @@ -# Run Iota Node using Docker Compose +# Run IOTA Node using Docker Compose Tested using: @@ -22,15 +22,15 @@ network-key-pair: path: /opt/iota/key-pairs/network.key ``` -3. Place `genesis.blob` in the same directory as [`docker-compose.yaml`](https://github.com/iotaledger/iota/blob/testnet/nre/docker/docker-compose.yaml). (available post genesis ceremony) +3. Place `genesis.blob` in the same directory as [`docker-compose.yaml`](https://github.com/iotaledger/iota/blob/testnet/nre/docker/docker-compose.yaml). (see [Genesis](https://docs.iota.org/operator/genesis)) ## Connectivity -You may need to explicitly open the ports outlined in [Iota for Node Operators](../validator-tasks#connectivity) for the required Iota Node connectivity. +You may need to explicitly open the ports outlined in [IOTA for Node Operators](../validator-tasks#connectivity) for the required IOTA Node connectivity. ## Start the node -Start Iota Node in detached mode: +Start IOTA Node in detached mode: `sudo docker compose up -d` @@ -44,7 +44,7 @@ By default, logs are stored at `/var/lib/docker/containers/[container-id]/[conta sudo docker compose logs -f validator ``` -- By default all logs are output, limit this using `--since` +- By default, all logs are output, limit this using `--since` ```shell sudo docker logs --since 10m -f validator @@ -52,7 +52,7 @@ sudo docker logs --since 10m -f validator ## Storage -- What is the size of the local Iota database? +- What is the size of the local IOTA database? ```shell # get the volume location on disk @@ -61,7 +61,7 @@ sudo docker volume inspect docker_iotadb sudo du -sh /var/lib/docker/volumes/docker_iotadb/_data ``` -- Delete the local Iota databases (volume) +- Delete the local IOTA databases (volume) ```shell sudo docker-compose down -v @@ -69,7 +69,7 @@ sudo docker-compose down -v ## Updates -- **DO NOT** delete the Iota databases +- **DO NOT** delete the IOTA databases 1. Stop docker compose diff --git a/nre/helm/graphql/values.yaml b/nre/helm/graphql/values.yaml index 533e3803f73..d0fb1fb374c 100644 --- a/nre/helm/graphql/values.yaml +++ b/nre/helm/graphql/values.yaml @@ -27,7 +27,7 @@ env: RUST_BACKTRACE: value: "1" RPC_URL: - value: "https://public-rpc.mainnet.iota.io" # you will want to point this to a local fullnode instance like http://..svc.cluster.local:900 + value: "https://api.mainnet.iota.cafe" # you will want to point this to a local fullnode instance like http://..svc.cluster.local:900 DB_URL: valueFrom: secretKeyRef: diff --git a/nre/helm/indexer/values.reader.yaml b/nre/helm/indexer/values.reader.yaml index 3bbd6c3188b..b6049ac6258 100644 --- a/nre/helm/indexer/values.reader.yaml +++ b/nre/helm/indexer/values.reader.yaml @@ -6,9 +6,9 @@ args: [ "--db-url", "$(DB_URL)", "--rpc-client-url", - "https://public-rpc.mainnet.iota.io", + "https://api.mainnet.iota.cafe", "--remote-store-url", - "https://checkpoints.mainnet.iota.io", + "https://checkpoints.mainnet.iota.cafe", "--rpc-server-worker", ] diff --git a/nre/helm/indexer/values.writer.yaml b/nre/helm/indexer/values.writer.yaml index 1882ddf9abe..e5aa9fe495d 100644 --- a/nre/helm/indexer/values.writer.yaml +++ b/nre/helm/indexer/values.writer.yaml @@ -6,9 +6,9 @@ args: [ "--db-url", "$(DB_URL)", "--rpc-client-url", - "https://public-rpc.mainnet.iota.io", + "https://api.mainnet.iota.cafe", "--remote-store-url", - "https://checkpoints.mainnet.iota.io", + "https://checkpoints.mainnet.iota.cafe", "--fullnode-sync-worker", ] diff --git a/nre/helm/indexer/values.yaml b/nre/helm/indexer/values.yaml index 06882753a9b..f7f1bf8892f 100644 --- a/nre/helm/indexer/values.yaml +++ b/nre/helm/indexer/values.yaml @@ -27,9 +27,9 @@ env: CHECKPOINT_COMMIT_BATCH_SIZE: value: "300" RPC_CLIENT: - value: "https://public-rpc.mainnet.iota.io" + value: "https://api.mainnet.iota.cafe" REMOTE_STORE: - value: "https://checkpoints.mainnet.iota.io" + value: "https://checkpoints.mainnet.iota.cafe" DB_URL: valueFrom: secretKeyRef: diff --git a/nre/systemd/README.md b/nre/systemd/README.md index b80e9a26fb6..5a93e608618 100644 --- a/nre/systemd/README.md +++ b/nre/systemd/README.md @@ -1,4 +1,4 @@ -# Run a Iota Node using Systemd +# Run a IOTA Node using Systemd Tested using: @@ -18,29 +18,21 @@ sudo mkdir -p /opt/iota/key-pairs sudo chown -R iota:iota /opt/iota ``` -2. Install the Iota Node (iota-node) binary, two options: +2. Install the IOTA Node (iota-node) binary, two options: -- Pre-built binary stored in Amazon S3: +- Pre-built binary from [Github](https://github.com/iotaledger/iota/releases) -```shell -wget https://releases.iota.io/$IOTA_SHA/iota-node -chmod +x iota-node -sudo mv iota-node /opt/iota/bin -``` - -- Build from source: +- Build from source (select the branch you want to build from depending on the network you want to connect to): ```shell git clone https://github.com/iotaledger/iota.git && cd iota -git checkout $IOTA_SHA +git checkout [devnet|testnet|mainnet] cargo build --release --bin iota-node mv ./target/release/iota-node /opt/iota/bin/iota-node ``` 3. Copy your key-pairs into `/opt/iota/key-pairs/` -If generated during the Genesis ceremony these will be at `IotaExternal.git/iota-testnet-wave3/genesis/key-pairs/` - Make sure when you copy them they retain `iota` user permissions. To be safe you can re-run: `sudo chown -R iota:iota /opt/iota` 4. Update the node configuration file and place it in the `/opt/iota/config/` directory. @@ -56,9 +48,9 @@ network-key-pair: path: /opt/iota/key-pairs/network.key ``` -5. Place genesis.blob in `/opt/iota/config/` (should be available after the Genesis ceremony) +5. Place `genesis.blob` (see [Genesis](https://docs.iota.org/operator/genesis)) in `/opt/iota/config/` -6. Copy the iota-node systemd service unit file +6. Copy the `iota-node` systemd service unit file File: [iota-node.service](./iota-node.service) @@ -78,7 +70,7 @@ sudo systemctl enable iota-node.service ## Connectivity -You may need to explicitly open the ports outlined in [Iota for Node Operators](../validator-tasks#connectivity) for the required Iota Node connectivity. +You may need to explicitly open the ports outlined in [IOTA for Node Operators](../validator-tasks#connectivity) for the required IOTA Node connectivity. ## Start the node @@ -102,11 +94,11 @@ journalctl -u iota-node -f ## Updates -When an update is required to the Iota Node software the following procedure can be used. It is highly **unlikely** that you will want to restart with a clean database. +When an update is required to the IOTA Node software the following procedure can be used. It is highly **unlikely** that you will want to restart with a clean database. - assumes iota-node lives in `/opt/iota/bin/` -- assumes systemd service is named iota-node -- **DO NOT** delete the Iota databases +- assumes systemd service is named `iota-node` +- **DO NOT** delete the IOTA databases 1. Stop iota-node systemd service @@ -114,11 +106,7 @@ When an update is required to the Iota Node software the following procedure can sudo systemctl stop iota-node ``` -2. Fetch the new iota-node binary - -```shell -wget https://releases.iota.io/${IOTA_SHA}/iota-node -``` +2. Fetch the new `iota-node` binary from [Github](https://github.com/iotaledger/iota/releases) 3. Update and move the new binary: diff --git a/nre/systemd/iota-node.service b/nre/systemd/iota-node.service index 76512d92601..d6870d55efa 100644 --- a/nre/systemd/iota-node.service +++ b/nre/systemd/iota-node.service @@ -1,5 +1,5 @@ [Unit] -Description=Iota Node +Description=IOTA Node [Service] User=iota diff --git a/nre/validator_tasks.md b/nre/validator_tasks.md index 9384d2c4111..80547c3ee23 100644 --- a/nre/validator_tasks.md +++ b/nre/validator_tasks.md @@ -1,6 +1,6 @@ ## Overview -This document focuses on running the Iota Node software as a Validator. +This document focuses on running the IOTA Node software as a Validator.
@@ -21,7 +21,6 @@ This document focuses on running the Iota Node software as a Validator. - [Monitoring](#monitoring) - [Metrics](#metrics) - [Logs](#logs) - - [Dashboards](#dashboards) - [Software Updates](#software-updates) - [State Sync](#state-sync) - [Chain Operations](#chain-operations) @@ -45,25 +44,17 @@ To run an Iota Validator a machine with the following is required: ## Deployment -Iota Node can be deployed in a number of ways. +IOTA Node can be deployed in a number of ways. There are pre-built container images available in [Docker Hub](https://hub.docker.com/r/iotaledger/iota-node/tags). -And pre built `linux/amd64` binaries available in S3 that can be fetched using one of the following methods: +And pre-built `linux/amd64` binaries available in [Github](https://github.com/iotaledger/iota/releases): -```shell -wget https://releases.iota.io/$IOTA_SHA/iota-node -``` - -```shell -curl https://releases.iota.io/$IOTA_SHA/iota-node -o iota-node -``` - -To build directly from source: +To build directly from source (select the branch you want to build from depending on the network you want to connect to): ```shell git clone https://github.com/iotaledger/iota.git && cd iota -git checkout [SHA|BRANCH|TAG] +git checkout [devnet|testnet|mainnet] cargo build --release --bin iota-node ``` @@ -75,7 +66,7 @@ Configuration and guides are available for the following deployment options: ## Configuration -Iota Node runs with a single configuration file provided as an argument, example: +IOTA Node runs with a single configuration file provided as an argument, example: `./iota-node --config-path /opt/iota/config/validator.yaml`. @@ -245,12 +236,6 @@ To change the currently configured logging values: curl localhost:1337/logging -d "info" ``` -### Dashboards - -Public dashboard for network wide visibility: - -- [Iota Testnet Validators](https://metrics.iota.io/public-dashboards/9b841d63c9bf43fe8acec4f0fa991f5e) - ## Software Updates When an update is required to the Iota Node software the following process can be used. Follow the relevant Systemd or @@ -289,17 +274,7 @@ p2p-config: ## Chain Operations The following chain operations are executed using the `iota` CLI. This binary is built and provided as a release similar -to `iota-node`, examples: - -```shell -wget https://releases.iota.io/$IOTA_SHA/iota -chmod +x iota -``` - -```shell -curl https://releases.iota.io/$IOTA_SHA/iota -o iota -chmod +x iota -``` +to `iota-node` on [Github](https://github.com/iotaledger/iota/releases). It is recommended and often required that the `iota` binary release/version matches that of the deployed network. diff --git a/sdk/typescript/README.md b/sdk/typescript/README.md index 9376f4e098c..3ca3b51ce9f 100644 --- a/sdk/typescript/README.md +++ b/sdk/typescript/README.md @@ -105,7 +105,7 @@ https://stackoverflow.com/questions/52676244/node-version-not-updating-after-nvm To run E2E tests against Devnet ``` -VITE_FAUCET_URL='https://faucet.devnet.iota.org:443/gas' VITE_FULLNODE_URL='https://fullnode.devnet.iota.org' pnpm --filter @iota/iota-sdk exec vitest e2e +VITE_FAUCET_URL='https://faucet.devnet.iota.cafe:443/gas' VITE_FULLNODE_URL='https://api.devnet.iota.cafe' pnpm --filter @iota/iota-sdk exec vitest e2e ``` ## Connecting to IOTA Network @@ -114,7 +114,7 @@ The `IotaClient` class provides a connection to the JSON-RPC Server and should b read-only operations. The default URLs to connect with the RPC server are: - local: http://127.0.0.1:9000 -- Devnet: https://fullnode.devnet.iota.org +- Devnet: https://api.devnet.iota.cafe ```typescript import { getFullnodeUrl, IotaClient } from '@iota/iota-sdk/client';