From ac117c2c828713d33a09c7101e78cc678f8d6f50 Mon Sep 17 00:00:00 2001 From: Hakkyung Lee <17398672+hklee93@users.noreply.github.com> Date: Wed, 17 May 2023 19:50:17 +0900 Subject: [PATCH] update readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a09d24d..b332516 100644 --- a/README.md +++ b/README.md @@ -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