...显示"You are not connected to a node. Ensure that your node is running and that the Websocket endpoint is reachable."而且左边侧面只有"settings","github","wiki"三个组建,我没能像参考文章那样做到交易。我是哪里缺少了呢?希望大神能够解决我的问题
... If no mint authority is present
/// then the mint has a fixed supply and no further tokens may be
/// minted.
pub mint_authority: COption,
/// Total supply of tokens.
pub supply: u64,
/// Number of base 10 digits to the right of the decimal place.
pub decimals: u8...
...: string,
amount: string,
gasPrice: string
): Promise {
try {
// Construct URL - QUICKNODE_RPC_URL has `/` at the end in default
let url = `${QUICKNODE_RPC_URL}addon/${ADDON_ID}/v4/${CHAIN}/quote?inTokenAddress=${inTokenAddress}&outTokenAddress=${outTokenAddress}&amount=${amount}`;
...
...ction withdraw() public { // 提现方法
// Uncomment this line, and the import of "hardhat/console.sol", to print a log in your terminal
// console.log("Unlock time is %o and block timestamp is %o", unlockTime, block.timestamp);
require(block.timestamp >= unlockTime, "...