Home

Awesome

npm version codecov support typescript

eoslime.js

EOS development and deployment framework based on eosjs.js. The framework's main purpose is to make the process of unit testing, deployment and compilation much simpler and much easier.

Telegram - https://t.me/eoslime
Documentation - https://lyubo.gitbook.io/eoslime/

Contributors

Thanks these wonderful people for helping improve EOSLime

<table> <tr> <td align="center"><a href="https://github.com/vladichhh"><img src="https://avatars0.githubusercontent.com/u/6073094?s=400&u=082c73ab35e0227f16679edab6bcde05ccde37c3&v=4" width="100px;" alt=""/><br/><sub><b>Kristian Veselinov</b></sub></a><br/><a href="#" title="Management">🧭</a><a href="#" title="Marketing">🚀</a></td> <td align="center"><a href="https://github.com/vladichhh"><img src="https://avatars0.githubusercontent.com/u/31288155?s=400&u=80cbd54d1c973ebac1f443230e4a07a9a0bca7a2&v=4" width="100px;" alt=""/><br/><sub><b>Vladimir Hristov</b></sub></a><br/><a href="#" title="Code">💻</a><a href="#" title="Maintenance">🚧</a><a href="#" title="Ideas">💡</a></td> <td align="center"><a href="https://github.com/Avm07"><img src="https://avatars1.githubusercontent.com/u/24969602?s=400&u=c2ab916dba523284faa1310b363fed7ef27634f2&v=4" width="100px;" alt=""/><br/><sub><b>Artem</b></sub></a><br/> <a href="https://github.com/LimeChain/eoslime/issues/53" title="Ideas">💡</a> </td> <td align="center"><a href="https://github.com/prcolaco"><img src="https://avatars2.githubusercontent.com/u/3846701?s=460&v=4" width="100px;" alt=""/><br/><sub><b>Pedro Reis Colaço</b></sub></a><br/> <a href="https://github.com/LimeChain/eoslime/pulls/prcolaco" title="Code">💻</a> </td> </tr> </table>

Change log

Version 2.0.0 change log

[Typescript support && Codebase code coverage]

Breaking changes

News

Version 1.0.4 change log

Version 1.0.3 change log

Version 1.0.2 change log

Version 1.0.1 change log

// Local network initialization
const eoslime = require('eoslime').init();

const CONTRACT_NAME = 'mycontract';
const ABI_PATH = './contract/contract.abi';

// Pre-created local network accounts
const user1 = eoslime.Account.load('myacc1', 'privateKey1');

let contract = eoslime.Contract.at(ABI_PATH, CONTRACT_NAME, user1);

// Execute `doSmth` and transfer 5.0000 SYS tokens to the contract at once(atomically)
await contract.doSmth('Your args here', { from: user1, tokens: '5.0000 SYS' });
await Provider.select('table').from('contract name').scope('account name').find()