Testing Vaults

Front

cd app
yarn && yarn dev

require to have phantom in browser, dev settings and activate testnet mode on devnet

Program

cd programs
anchor build && anchor deploy

create the address

solana-keygen new -o id.json
solana balance --keypair id.json --url https://api.devnet.solana.com

get the address

solana-keygen pubkey ./id.json

airdrop the address

solana airdrop 2 <address> --url https://api.devnet.solana.com

replace the program id everywhere (ctrl+maj+f -> find & replace all occurences [old id -> new id]) now build with new id

anchor build && anchor deploy