Skip to content

SiddharthManjul/pearl-monad

 
 

Repository files navigation

wall pearl

P. E. A. R. L.?

P. E. A. R. L. stands for Parallel Enhanced AI for Rapid-Ledger processing. P. E. A. R. L. is a cross technology product leveraging efficiencies of both Artificial Intelligence & Blockchain to provide a Safe, Secure and the best User Experience while interacting with Decentralized Web.

Installation and Running:

  1. Clone the Repository and install it locally.
  2. Run the command "bun install" or "bun i" or your preferred Tool.
  3. Create a new .env file and paste the content in it from .env.example.
  4. Fill in all the fields in .env file. (Variables should remain exactly same).
  5. Run the project using "bun run dev" or your preferred tool.

Features:

P. E. A. R. L. provides lot of features stated as following:

Indexing: Indexes all the transaction happened using the platform and also shows them through the Dashboard.

Social Logins: Social Login/Signup for easy onboarding on the platform.

Embedded Wallets: It generates Embedded Wallet as soon as a user signups for the platform.

Multiple Tools: Multiple Tools such as Price Fetch, Send Transaction, Swap, Swap Quote, In-built Faucet and more.

Tools available:

Read Tools:

  1. get_balance.
  2. get_wallet_address.
  3. fetch_price.
  4. fetch_quote.

Write Tools:

  1. send_transaction
  2. execute_swap
  3. request_funds

Prompts Format:

  1. get_balance: What is my wallet balance?
  2. get_wallet_address: What is my wallet address?
  3. fetch_price: fetch token price for sellToken: 0xB5a30b0FDc5EA94A52fDc42e3E9760Cb8449Fb37, buyToken: 0xf817257fed379853cDe0fa4F97AB987181B1E5Ea, sellAmount: 10000000000000000000000, chainId: 10143
  4. fetch_quote: fetch quote price for sellToken: 0x760AfE86e5de5fa0Ee542fc7B7B713e1c5425701, buyToken: 0x88b8E2161DEDC77EF4ab7585569D2415a1C1055D, sellAmount: 1000000000000000000
  5. send_transaction: send 0.1 MON (quantity and token depends on the user) to address 0xdc8E072aD4dDae1b4F6ec02bdE8D9702147C1219 (address also depends on the user).
  6. execute_swap: execute swap for sellToken: 0x760AfE86e5de5fa0Ee542fc7B7B713e1c5425701, buyToken: 0x88b8E2161DEDC77EF4ab7585569D2415a1C1055D, sellAmount: 1000000000000000000.
  7. request_funds: Send 0.5 MON to the address 0x123....

Note: execute_swap will only work after fetch_quote tool..

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.9%
  • CSS 1.7%
  • JavaScript 0.4%