Here you can find simple examples for all transactions exposed by the Flow API.
- Install the dev dependencies:
php composer.phar install --dev
-
Rename the
.env.dist
to.env
. Then like grab your Flow Sandbox API keys and put them inside. -
Fire up a local test server:
php -S localhost:80 -t /path/to/flow-sdk/examples/
Then, go to http://localhost:80 and read the Homepage. Be sure to do it.