Giter Site home page Giter Site logo

cardano-dapp-connector's Introduction

cardano-dapp-connector

Basic Cardano dapp connector.

  • Supports connections to Nami, CCVault, and Flint wallets.
  • Implemented as React compontents written in TypeScript.
  • Includes basic example for constructing and executing transactions. See executeBuyExample.tsx.

cardano-dapp-connector's People

Contributors

nsidawy avatar

Stargazers

Hugo Paiva de Almeida avatar André Morais avatar

Watchers

 avatar

Forkers

hugofpaiva

cardano-dapp-connector's Issues

Purchase example

Do you have an example using the purchase logic (transaction builder) where you could call those components on a separate file? In other words, I would like to use the txbuild logic but not have it written in the same page as the content I render. The reason being because I export pages as const's and use a function to define the returned content and then in index.tsx I render the individual pages and I would like to keep this clean structure. So I would like to use the txbuild logic within the Faq const/html page

*****Faq.tsx file that I would like to include a div for the txbuild logic

const Faq = () -> (
-section className="faq-section
-div className="faq-header container-fluid text-center">
-img
className="img-fluid"
src="images/faqHeader.svg"
alt="FAQ Section Header Image"
>
-div

export default Faq;

**app.tsx file

function App() {

return (



<Routes>
  <Route path="/faq" element={<Faq />} />
  <Route path="/roadmap" element={<Roadmap />} />
  <Route path="/" element={<Home />} />
</Routes>

<div className="MyFooter">
  <Footer />
</div>
</Router>

);
}

export default App;

**Index.tsx file

ReactDOM.render(
<React.StrictMode>
-App-
</React.StrictMode>,
document.getElementById('root')
);

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.