{"repo":"archethic-foundation/libjs","free":true,"listed":false,"github":"https://github.com/archethic-foundation/libjs","clone":"git clone https://github.com/archethic-foundation/libjs.git","description":"Archethic Javascript SDK","language":"TypeScript","stars":19,"topics":["javascript","blockchain","cryptography","transaction-chain","archethic"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Archethic SDK Javascript Official Archethic Javascript library for Node and Browser. Installing Usage When it comes to private data manipulation, your application has two options : 1. Standalone : store private keys on your own 2. WalletRPC : delegate sensitive operations to a Wallet application. ( recommended , but still Alpha) The second option is strongly preferable : it preserves you from security problematics. When your web application needs to perform a sensitive operation (signing a Transaction, reading a Transaction secrets), it will ask Archethic Wallet application to perform it. That way, cryptographic secrets never leak from the Archethic Wallet . The only requirement is user has to run an Archethic Wallet on their computer. If your application does not perform any sensitive operation, WalletRPC is probably not necessary. Using the network with WalletRPC This library aims to provide an easy way to interact with Archethic network. Using the network without WalletRPC This library aims to provide an easy way to interact with Archethic network. Note : archethic.connect() is useful but not mandatory. In the case of using a website on HTTPS, making a query to a node through HTTP creates a Mixed content issue. To avoid this issue, we can use directly new Archethic(httpsEndpoint) which will be used as fallback. If you still want to use the nearest point while being on an HTTPS website, you could call a server endpoint to make the query for you. API Account newKeychainTrans","default_branch":null,"files":null,"tree":[],"storefront":"/r/archethic-foundation","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/archethic-foundation/libjs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}