Open keyserjaya opened 2 years ago
Hey @keyserjaya! Is this meant to be documentation about how to use the tool? If so, maybe we should put it into either the readme, or in a folder dedicated to examples?
$fromPublicKey = KeyPair::fromSecretKey(SecretKeyToKeypair('YourSecretKey'));
I have a question, the 'YourSecretKey' will be the payer's or receiver's secret key?
Is this meant to be documentation about how to use the tool?
yep.
maybe we should put it into either the readme, or in a folder dedicated to examples?
Let's do both, i don't mind ^^
*ps: this example is for giving player reward (server send sol to player)
$fromPublicKey = KeyPair::fromSecretKey(SecretKeyToKeypair('YourSecretKey'));
I have a question, the 'YourSecretKey' will be the payer's or receiver's secret key?
it's payer secret key
maybe we should put it into either the readme, or in a folder dedicated to examples?
Let's do both, i don't mind ^^
Sounds good; please feel free to update this PR moving this to a docs
folder and then mentioning it in the readme
.
Hi, please is there an example on how to transfer custom token?
Related to #48
Ready to use ;)