sh -c "$(curl -sSfL https://release.solana.com/v1.16.10/install)"
solana --version
solana
solana-keygen new
solana 지갑 키 쌍을 생성하는 과정이 진행되는데, 여기서 생성된 지갑과 키 쌍은 solana에서 자산을 관리하고 트랜잭션을 서명하는데 사용된다.
NOTE! This passphrase improves security of the recovery seed phrase NOT the
keypair file itself, which is stored as insecure plain text
BIP39 Passphrase (empty for none):
Wrote new keypair to /Users/junghoo515/.config/solana/id.json
==============================================================================
pubkey: 개인키
==============================================================================
Save this seed phrase and your BIP39 passphrase to recover your new keypair:
flag wedding misery abuse shock blue that situate debris awesome hurry control
==============================================================================
Wrote new keypair… 생성된 키가 보관되어 있는 곳이니 개발에 유의하자.
solana config set --keypair 디렉토리
ConfigFile, RPC URL, WebSocket URL, Keypair Path, Commitment 등의 정보를 확인할 수 있다.
solana config set --url https://api.devnet.solana.com
RPC URL을 mainnet에서 devnet으로 바꿔준다.
solana logs
solana airdrop 5