You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry if the title is clickbait, I didn't know how to call it hehe
The issue is that on the readme instructions on deploying your own version, it's specified that you need to change the program IDs on src/index.ts. So, a user after deploying the programs and replacing the IDs, would expect that launching the gem-farm app on local results in it pointing to their deployed version.
This is false since the gem-farm app is pulling the SDK from the NPM repository, not from the local source. This means the user is still interacting with the version deployed by @ilmoi even tho they changed the IDs that they needed to change as per the documentation.
This is even more aggravating now since creating a farm costs 2.5 sol and if they don't know how to remove that fee from the rust code, it's just money being paid for errors that could be avoided.
A solution to this would be appreciated as I've seen a few users that have committed this mistake already.
On the meantime, if anyone needs a fix, I forked the repository and made all the imports from the gem-farm app point to the local SDK, so if you change the IDs on src/index.ts it will take effect.
Sorry if the title is clickbait, I didn't know how to call it hehe
The issue is that on the readme instructions on deploying your own version, it's specified that you need to change the program IDs on
src/index.ts
. So, a user after deploying the programs and replacing the IDs, would expect that launching the gem-farm app on local results in it pointing to their deployed version.This is false since the gem-farm app is pulling the SDK from the NPM repository, not from the local source. This means the user is still interacting with the version deployed by @ilmoi even tho they changed the IDs that they needed to change as per the documentation.
This is even more aggravating now since creating a farm costs 2.5 sol and if they don't know how to remove that fee from the rust code, it's just money being paid for errors that could be avoided.
A solution to this would be appreciated as I've seen a few users that have committed this mistake already.
On the meantime, if anyone needs a fix, I forked the repository and made all the imports from the gem-farm app point to the local SDK, so if you change the IDs on
src/index.ts
it will take effect.https://github.com/nf0x/gem-farm
The text was updated successfully, but these errors were encountered: