0

could not find

import at /src + Seahorse.prelude.
    from Seahorse.prelude import * 

I’m writing hello world in seahorse and i got this error, if anyone help me with this.

2
  • 1
    Can you show the full source code you're trying to build, and what command you're running to build it?
    – Callum M
    Commented Jan 18 at 16:11
  • yeah sure! ''' from Seahorse.prelude import * declare_id('') @instruction def hello(signer: Signer): print("GM SOLANA!!") ''' Commented Jan 19 at 12:22

1 Answer 1

1

I think you have a typo. You want that first line to be from seahorse.prelude import *

Lowercase s at the start of seahorse.

1
  • 1
    Yes, I got!! Thanks for the help :) Commented Jan 25 at 12:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.