GithubHelp home page GithubHelp logo

ternoa-wallet's Introduction

Ternoa Wallet

Introduction

Ternoa Wallet is a non-custodial crypto wallet created and maintaned by Ternoa. Powered by React-Native and Polkadot.js, it is built on top of Ternoa ecosystem to allow users to manage there CAPS and NFTs on the Mainnet and Alphanet networks.

Ternoa Wallet is available on:

Documentation

This documentation is aimed at helping developers who create dApps leveraging the Ternoa ecosystem to integrate Ternoa Wallet and Wallet Connect.

Please find bellow some ressources that will help you with the integration:

Issues

If you are experiencing an issue with Ternoa Wallet, please visit the issues section. If the issue you are experiencing has not yet been reported, create a new issue.

Support

For support, join our Discord, we are happy to help you.

ternoa-wallet's People

Contributors

dhammani avatar lautaro-osacar avatar

Stargazers

Nicola Pertosa avatar

Watchers

CharlyBr avatar SOUFIANE BOUCHAARA avatar GogoGacha avatar Mohsan Riaz avatar  avatar  avatar

ternoa-wallet's Issues

Error -32601 : Method not found

I have this error :
image

When I try to connect, If i click for display the Qr code, the error display. I've this error since 1 week before it was ok.

And If I change of chain it's work.

My code for the connexion :

TERNOA_CHAIN=ternoa:18bcdb75a0bba577b084878db2dc2546

const requiredNamespaces = {
ternoa: {
chains: [TERNOA_CHAIN],
events: ["event_test"], // events that we will use, each project implements events according to the business logic
methods: ["sign_message"], // methods that we will use, each project implements methods according to the business logic
},
};

Issue to connect

Hello guys,

I have a problem when I try to connect to my dapp :
{context: 'client'} "Cannot read properties of undefined (reading 'MISSING_OR_INVALID')"

using the connect function of the ternoa-wallet :
const connect = useCallback(
async (pairing) => {
if (typeof store.client === undefined) {
throw new Error("WalletConnect is not initialized");
}
try {
console.log("test4")
console.log(store.client,'store.client')
console.log(pairing,'pairing')
console.log(requiredNamespaces,'requiredNamespaces')
const { uri, approval } = await store.client.connect({
pairingTopic: pairing?.topic,
requiredNamespaces: requiredNamespaces,
});
console.log(uri,'uri')

    if (uri) {
      QRCodeModal.open(uri);
    }
    const session = await approval();
    onSessionConnected(session);
  } catch (e) {
    console.error(e);
  } finally {
    QRCodeModal.close();
  }
},
[store.client, onSessionConnected]

);

the issue appear at the line : const { uri, approval } = await store.client.connect

I don't understand why because I have the object client and the property connect inside it, also the issue appear just online, when I using this code in local I have no problem, the Qr code display and I can connect

If someone have a workaround it will help me a lot

Thanks in advance

what is the ternoa mainnet chain wallet connect v2 ?

In the different doc about the wallet we can find :
const TERNOA_ALPHANET_CHAIN = "ternoa:18bcdb75a0bba577b084878db2dc2546";

const requiredNamespaces = {
ternoa: {
chains: [TERNOA_ALPHANET_CHAIN],
events: ["event_test"],
methods: ["sign_message"],
},
};

to connect the ternoa wallet to the alphanet chain, is it possible to have the code to be connected to the mainnet

thanks a lot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.