Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Program is not executable after I launch client to interact with helloworld.sol #649

Open
gameuser1982 opened this issue Apr 20, 2024 · 0 comments

Comments

@gameuser1982
Copy link

So after a few hiccups I managed to compile helloworld.so

I then deployed that beast using:

solana program deploy ~/example-helloworld/dist/program/helloworld.so

So far so good:

Program Id: 8MCcSGEEALayT53wgLB8gLFaWyxDTV16xYWg7d89Dr4a

I install all dependencies using npm install

And I fire it up:

candid@DESKTOP-5D7VSM9:~/example-helloworld$ npm run start

> helloworld@0.0.1 start
> ts-node src/client/main.ts

Let's say hello to a Solana account...
Connection to cluster established: http://localhost:8899 { 'feature-set': 3352961542, 'solana-core': '1.18.4' }
Using account 6sgA73Uu6Ww8sFAt4h48ruqYgtuDK9F4Q3px72qnr7mw containing 500000031.0946681 SOL to pay for fees
Error: Program is not executable
    at /home/candid/example-helloworld/src/client/hello_world.ts:159:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/candid/example-helloworld/src/client/hello_world.ts:30:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
candid@DESKTOP-5D7VSM9:~/example-helloworld$ 

What am I missing here?

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

No branches or pull requests

1 participant