Closed Boyquotes closed 2 months ago
Hello, you need to install the Phantom Wallet Extension on your browser.
The solana
here does not refer to the solana lib crate in Cargo.toml, but rather to the JavaScript SDK object injected into the page by the Phantom Wallet Extension, https://docs.phantom.app/solana/detecting-the-provider.
The Rust code calls the method of this JavaScript object through wasm_bindgen to sign and send transactions to the Sonala blockchain.
Hi, you have rigth, I have a problem with my server conf(maybe extension or cache browser in chrome, but the same with another browser brave...) and wallet, I don't know why but phantom or talisman was not loaded/regonize like installed when I run react app with solana web3js or polkadot js api in the dApp, the same for dioxus, in localhost or for this case a github pages deploy fix the problem. Thanks!
I get it.You are welcome.
I have follow instructions and the anchor build and deploy works fines, the dx build --release works but when I serve the content qith dx sever --hot-reload and I load the home page, everything look ok but when I click on the wallet button I got this error :
I have comment the base_path option in Dioxus.toml because I use the root ip eg: my-ip:8080/
Have you an idea why solana lib was not found despites she is on the Cargo.toml file in the dependencies section ?
My rust toolchain versions: