dendorferpatrick / nami-wallet-examples Goto Github PK
View Code? Open in Web Editor NEWThis repository demonstrates useful implementation functions of Nami Wallet for your project.
License: Apache License 2.0
This repository demonstrates useful implementation functions of Nami Wallet for your project.
License: Apache License 2.0
Please let me know how to send metadata to transactions
We generate datum script using below :
cardano-cli transaction hash-script-data --script-data-file ${datum_name}.datum
It generates the datum script. once we have datum we need to incluide it into transaction
that is generated on cli again
cardano-cli transaction build
--alonzo-era
--tx-in ${utxoin}
--tx-out ${SCRIPT_ADDR}+${LOCK_AMNT}
--tx-out-datum-hash ${hashes[0]}
--metadata-json-file metadata.json \
How to implment same using "@emurgo/cardano-serialization-lib-browser/" ?
Any idea on how to reverse the hex returned by this method?
The readme says it's Bech32, but I haven't had any luck decoding the result, bech32 decoders refuse it as "too lengthy".
We generate datum script using below :
cardano-cli transaction hash-script-data --script-data-file ${datum_name}.datum
It generates the datum script. once we have datum we need to incluide it into transaction
that is generated on cli again
cardano-cli transaction build
--alonzo-era
--tx-in ${utxoin}
--tx-out ${SCRIPT_ADDR}+${LOCK_AMNT}
--tx-out-datum-hash ${hashes[0]}
--metadata-json-file metadata.json \
Please let me know how to do above using nami wallet?
Hey I am trying to deploy the build of my react app on local xampp I have used nami wallet integration from this repo. It is throwing me
Uncaught (in promise) TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.
I have added AddType application/wasm to ".htaccess" and also application/wasm wasm to etc/mime.types
What is the workaround or solution for this one?
The transfer function throws an error saying Inputs_Exhausted even when there are sufficient funds in the Nami wallet.
Error: INPUTS_EXHAUSTED
at randomSelect (coinSelection.js?bae8:307)
at eval (coinSelection.js?bae8:247)
at Array.forEach (<anonymous>)
at Object.randomImprove (coinSelection.js?bae8:243)
at async NamiWalletApi._txBuilder (nami.js?8340:541)
at async NamiWalletApi.transaction (nami.js?8340:249)
How to resolve this issue?
npm run build is showing number of issues.
Please do so in your README.md file.
Can we send Asset/NFT in transaction using this project.
HI, I want to burn nft using this repo. Is there any way todo that?
When trying to load the app in a browser, I get the following error in the browser console:
Uncaught ReferenceError: regeneratorRuntime is not defined
It appears that the @babel/transform-runtime
plugin is not actually installed in .babelrc
.
Hi ,
Below code is returning some encoded value.
const c = await this.Nami.getCollateral();
how to get exact collateral? I tried HexToString but not work. Please suggest.
Hi, i am facing issue in using skey,vkey and mintscript created from cardano cli. Can you please shre how to achive that in doing multi wallet transaction where use signs transaction
I am using react js. When i add your project files in my project it give me error on Nami.js file under nami-js folder.
Line 383:29: 'getAddressHex' is not defined no-undef
Line 384:34: 'Nami' is not defined no-undef
Line 871:28: 'Metadata' is not defined no-undef
Line 878:13: 'aux' is not defined no-undef
Line 1079:22: 'networkId' is not defined no-undef
Line 1085:24: 'networkId' is not defined
Can you please tell who is can be solved when we use in our projects
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.