Skip to content

nadineloepfe/hbargotchi-walletconnect

Repository files navigation

Hbargotchi dApp with WalletConnect

Welcome to Hbargotchi, a decentralised, virtual pet project built on Hedera Hashgraph. Users can create, mint, and take care of their own digital pets, combining the nostalgia of virtual pets with modern web3 technology, while experiencing the Mirror Node API & Hedera Token Service (HTS).

tbc: Hedera Consensus Service (HCS) as well as Hedera Smart Contract Service (HSCS)

This project uses React, Material UI, Ethers, and TypeScript and uses the Create React App (CRA) Hedera DApp template template as a base. Fully integrated with walletconnect, streamlining your development process.

Completed Branch Usage

  1. Execute npm i
  2. Execute npm run start to start the project

Prerequisites

Hedera Testnet account

Don't have one? Create one by going to portal.hedera.com. The daily limit is 1000 test HBAR and users will be able to request for a refill every 24 hours!

Hashpack Wallet

Blade Wallet

Metamask Wallet

  • Install the MetaMask extension.
  • Import a Hedera ECDSA based testnet account into MetaMask.

Kabila Wallet

How to activate your account on Hedera Testnet


Configuration

This project uses a configuration file located src/config/networks.ts.

export const networkConfig: NetworkConfigs = {
  testnet: {
    network: "testnet",
    jsonRpcUrl: "https://testnet.hashio.io/api", // check out the readme for alternative RPC Relay urls
    mirrorNodeUrl: "https://testnet.mirrornode.hedera.com",
    chainId: "0x128",
  }
}

JSON RPC Relay Endpoint Alternatives

This DApp utilizes Hashio to connect to Hedera Testnet over RPC. There are three options available to establish a connection to Hedera Networks:

  • Hashio
  • Arkhia
  • Hedera JSON RPC Relay

Follow the guide how to connect to Hedera Networks over RPC to connect using Arkhia or a local version of the Hedera JSON RPC Relay.

Links

License

Apache 2.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published