use snarkvm::dpc::prelude::*;
use colored::*;
pub fn welcome_message() -> String {
let mut output = String::new();
output += &r#"
╦╬╬╬╬╬╦
╬╬╬╬╬╬╬╬╬ ▄▄▄▄ ▄▄▄
╬╬╬╬╬╬╬╬╬╬╬ ▐▓▓▓▓▌ ▓▓▓
╬╬╬╬╬╬╬╬╬╬╬╬╬ ▐▓▓▓▓▓▓▌ ▓▓▓ ▄▄▄▄▄▄ ▄▄▄▄▄▄
╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬ ▐▓▓▓ ▓▓▓▌ ▓▓▓ ▄▓▓▀▀▀▀▓▓▄ ▐▓▓▓▓▓▓▓▓▌
╬╬╬╬╬╬╬╜ ╙╬╬╬╬╬╬╬ ▐▓▓▓▌ ▐▓▓▓▌ ▓▓▓ ▐▓▓▓▄▄▄▄▓▓▓▌ ▐▓▓▓ ▓▓▓▌
╬╬╬╬╬╬╣ ╠╬╬╬╬╬╬ █▓▓▓▓▓▓▓▓▓▓█ ▓▓▓ ▐▓▓▀▀▀▀▀▀▀▀▘ ▐▓▓▓ ▓▓▓▌
╬╬╬╬╬╬╣ ╠╬╬╬╬╬╬ █▓▓▓▌ ▐▓▓▓█ ▓▓▓ ▀▓▓▄▄▄▄▓▓▀ ▐▓▓▓▓▓▓▓▓▌
╬╬╬╬╬╬╣ ╠╬╬╬╬╬╬ ▝▀▀▀▀ ▀▀▀▀▘ ▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀▀▀
╚╬╬╬╬╬╩ ╩╬╬╬╬╩
"#
.white()
.bold();
output += &"Welcome to Aleo! We thank you for running a network node and supporting privacy.\n".bold();
output
}
pub fn notification_message<N: Network>(miner: Option<Address<N>>) -> String {
let mut output = String::new();
output += &r#"
==================================================================================================
Welcome to Aleo Testnet2 - Incentivization Period
==================================================================================================
The incentivized testnet will be announced on Discord. Visit https://www.aleo.org/discord
for the official launch announcement on November 30, 2021, from the Aleo team.
Minimum requirements:
- CPU: 16-cores (32-cores preferred)
- RAM: 16GB of memory (32GB preferred)
- Storage: 128GB of disk space
- Network: 50 Mbps of upload and download bandwidth
To get started (after November 30, 2021):
1. Generate one Aleo account, and save the account private key and view key.
2. Ensure ports 4132/tcp and 3032/tcp are open on your router and OS firewall.
3. Ensure your Aleo node is running the `run-client.sh` or `run-miner.sh` script,
in order to automatically stay up to date on the incentivized testnet.
4. File technical issues on Github at https://github.com/AleoHQ/snarkOS/issues/new/choose
5. Ask questions on Discord at https://www.aleo.org/discord
6. Please be respectful to all members of the Aleo community.
To claim rewards (after February 15, 2022):
1. Participants will be required to KYC at the end of incentivized testnet2.
2. Participants must demonstrate ownership of their Aleo miner address.
3. [For United States & Canada] Participants must be accredited investors.
4. The Aleo team reserves the right to maintain discretion in rewarding participants.
Thank you for participating in incentivized testnet2 and for supporting privacy!
==================================================================================================
"#
.white()
.bold();
if let Some(miner) = miner {
output += &format!(
"
Your Aleo miner address is {}
==================================================================================================
",
miner
);
}
output
}