Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

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

> [email protected] 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant