Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.
This repository was 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

Description

@gameuser1982

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions