Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

failed to resolve: use of undeclared crate or module 'nft_minter' #35

Open
alexcbb opened this issue Nov 13, 2021 · 1 comment
Open

Comments

@alexcbb
Copy link

alexcbb commented Nov 13, 2021

Hello, I'm currently trying to test the Elrond IDE extension into visual studio in order to create a smart contract before an NFT minting. I followed the steps of this video : https://www.youtube.com/watch?v=bXbBfJCRVqE&list=TLGGGjcdfWb669QxMzExMjAyMQ . The only difference is that I choosed to use the template nft-minting (for my use case). The problem is the following : even if all tools are well installed (rust, erdpy) I first had an error when building the Smart contract the first time (because elrond-wasm was not installed in my home directory). So I clone elrond-wasm github repo into my home and this issue seemed to be fixed. But when I tried again to build I get an error in my main saying that : "failed to resolve: use of undeclared crate or module 'nft_minter'". I searched this package but was not able to find it. I'm on Ubuntu 20.04 by the way.

Thanks by advance or your reponse

@andreyminea
Copy link

go to folder wasm/src file lib.rs then change module name with your module name (usually is the name of the project)
EX:
elrond_wasm_node::wasm_endpoints! {
####here####
(
init
claim
fund
getCrowdfundingTokenIdentifier
getCurrentFunds
getDeadline
getDeposit
getTarget
status
)
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants