Testing basic contract on truffle #5178
Unanswered
pbirbarah
asked this question in
General Q&A
Replies: 1 comment
-
Hi, @pbirbarah, do you have a public repository or full code snippet of Test_Payment.sol that can be referenced? I would like to assist you with the blocker you're facing, thank you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
this is my first contract and I am using truffle with ganache for testing and I am facing some issues:

The contract is supposed to just send payment back to the person who contacts it.
How do I do that? I have the contract deployed, created an instance const my_contract = await Test_Payment.deployed()
when I try my_contract.test I get an error that this is not a function I am confused how to proceed.
Beta Was this translation helpful? Give feedback.
All reactions