From 179610ddb7363edd05f97d30ccffb26638f18466 Mon Sep 17 00:00:00 2001 From: Ahmed Castro Date: Fri, 8 Oct 2021 09:38:16 -0600 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index ae93a67..9ef20c5 100644 --- a/README.md +++ b/README.md @@ -21,3 +21,27 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh sh -c "$(curl -sSfL https://release.solana.com/v1.8.0/install)" # ahora reinicia tus variables de entorno ``` + +## 1. Descargamos el proyecto de ejemplo + +```bash +git clone https://github.com/FilosofiaCodigo/SolanaHolaMundo +cd SolanaHolaMundo +``` + +## 2. Nos preparamos para lanzar + +Nos conectamos al devnet y conseguimos fondos desde el faucet. + +```bash +solana config set --url https://api.devnet.solana.com +solana-keygen new --force +solana airdrop 5 +``` + +## 3. Lanzamos + +```bash +cargo build-bpf --bpf-out-dir=dist/program +solana program deploy dist/program/helloworld.so +```