Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ require 'pi_network'
api_key = "YOUR_PI_API_KEY"
wallet_private_seed = "S_YOUR_WALLET_PRIVATE_SEED" # starts with S

pi = PiNetwork.new(api_key, wallet_private_seed)
# Passing the wallet_private_seed at the initialize step is optional.
# You can pass it as an option if you plan to use endpoints that require the wallet private seed.
pi = PiNetwork.new(api_key, {wallet_private_seed: wallet_private_seed})
```

2. Create an A2U payment
Expand Down