DISCLAIMER: This repository uses a library currently in its early development stage. Features may be incomplete or subject to change. Breaking changes may occur without notice until the first stable release.
This repository contains example projects demonstrating the use of the JuneoJS library for some functionalities.
- Node.js v18 or higher
- npm v9 or higher
-
Clone the repository:
git clone https://github.com/Juneo-io/juneojs-examples.git
-
Navigate to the project directory:
cd juneojs-examples
-
Install dependencies:
npm install
-
Create a
.env
file in the root directory and add your Mnemonic (see.env.example
for details).
Run the different examples using the following command:
npx ts-node src/<example-name>
docs/addValidator.ts
: This example demonstrates how to add a validator to the Juneo network.docs/crossJunetoJVM.ts
: This example shows how to send a cross-chain transaction from JUNE Chain to the JVM Chain.
More documentation will be provided in the future. Stay tuned!
This project is licensed under the BSD 3-Clause License. See the LICENSE file for more details.