操作流程以及命令
git clone https://github.com/ProjectsTask/rcc-stake-contract
npm install
npx hardhat compile
npx hardhat ignition deploy ./ignition/modules/Rcc.js
部署之后在 terminal 拿到合约地址,比如: 0x264e0349deEeb6e8000D40213Daf18f8b3dF02c3
const RccToken = "0x264e0349deEeb6e8000D40213Daf18f8b3dF02c3";
npx hardhat run scripts/RCCStake.js --network sepolia