Skip to content

Commit

Permalink
Fix loadRam to be buyRam in Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bakasura980 committed May 14, 2019
1 parent f93c598 commit f777f36
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ Account is a class that provides an easy access to blockchain account endpoint.
// Existing account on local network
let account = eoslime.Account.load('myAcc', 'myPrivateKey');

// The account will load ram by self for 10000 bytes
await account.loadRam(10000);
// The account will buy ram by self for 10000 bytes
await account.buyRam(10000);
```


Expand All @@ -250,7 +250,7 @@ Account is a class that provides an easy access to blockchain account endpoint.
let payer = eoslime.Account.load('myAcc1', 'myPrivateKey1');
let account2 = eoslime.Account.load('myAcc2', 'myPrivateKey2');

// Payer will load cpu and network for account2 for 100 SYS
// Payer will buy cpu and network for account2 for 100 SYS
await account2.buyBandwidth(100, 100, payer);
```
*Defaults:*
Expand All @@ -261,7 +261,7 @@ Account is a class that provides an easy access to blockchain account endpoint.
// Existing account on local network
let account = eoslime.Account.load('myAcc', 'myPrivateKey');

// The account will load cpu and net by self for 10 SYS
// The account will buy cpu and net by self for 10 SYS
await account.buyBandwidth(10, 10);
```

Expand Down

0 comments on commit f777f36

Please sign in to comment.