Receiving Payments

Learn how to receive payments via a smart contract.

Receive payments

We can now store addresses and split ratios inside a smart contract. Let’s update our contract so that it can also receive payments. Let’s start by writing a failing test for this:

Get hands-on with 1200+ tech skills courses.