Questions tagged [meteor]
Meteor is a full-stack JavaScript platform for building modern web and mobile applications
55
questions
1
vote
1
answer
226
views
Web3 Empty Object Server Side in Meteor
Created new --bare Meteor project (release 1.8).
Used meteor npm install --save web3 to add web3 to the project from npmjs.org.
In code server.js use:
Web3 = require('web3')
console.log(Web3) // ...
0
votes
1
answer
55
views
Error deploying new contract in Javascript using Meteor and TemplateVar
I am trying to create a new contract on button click using Meteor and TemplateVar. The relevant code is:
Template.Borrower.events({
'click button'(event, instance) {
// Create new Borrower
...
1
vote
1
answer
2k
views
How do I call a function in javascript to call a solidity function using meteor and TemplateVar
I have created a very simple front end to display the borrower name. I deployed the contract Borrower on Rinkeby. I can run the application if I access the variable borrowerName using the following ....
1
vote
0
answers
59
views
Private Chain Self-Hosted Mist Wallet Build Issues
I'm currently trying to deploy a fork of the Meteor Wallet Dapp on a custom private chain and I'm a bit confused at the set up, there seems to be a bit of lacking documentation on how Mist, Meteor-...
0
votes
1
answer
128
views
Problem with meteor server side call to Ethereum node
I try to interact with Ethereum node via web3 lib. (meteor add ethereum:web3)
Meteor 1.5.4.1
lib.js
if (typeof web3 === ‘undefined’){
web3 = new Web3(new Web3.providers.HttpProvider(‘http://127.0.0....
0
votes
1
answer
1k
views
How to send several arguments to an solidity function using an array or a dictionary?
Sorry in advance for my english I am French :)
I try to create a simple ethereum wallet. The idea is to allow the user to create a contract and to interact with it. I am using meteor, web3 and an ...
3
votes
4
answers
12k
views
contract has not been deployed to detected network (network/artifact mismatch)
Why can't deployed contract be found?
My node:
admin.nodeInfo
{
...,
protocols: {
eth: {
difficulty: 36521801351,
genesis: "...",
head: "...",
network: 3
}
}
}
...
1
vote
0
answers
214
views
What is the recommended way to interact with smart contracts in Meteor?
I have a meteor web application and want to interact with my smart contracts. Most of the data are stored in the Meteor MongoDB. I only store a hash of the data on the blockchain. Where should I the ...
4
votes
3
answers
674
views
Why is MeteorJS so popular for making dApps?
I am learning more about creating a front end that communicates with solidity contracts. At first, I was pointed in the direction of using ReactJS, but now I see many people talking about using ...
0
votes
1
answer
91
views
Meteor's EthBlocks.latest.number not updating
Created a very simple Meteor app to display the current block number using ethereum:block.
Problem: Even though the current block number is displayed when the page loads, it does not update both on ...
0
votes
1
answer
2k
views
Print values of a struct
I'm developing a dapp on Meteor that uses a contract written in solidity.
In the contract there is a struct.
Is possible to print the values that are in the struct? How can i do this?
1
vote
2
answers
304
views
Development approach to setup Eth account on Meteor/web3 app
I want to develop a Dapp that allows user to send and receive my own token (smart contract).
So far, I managed to setup a simple Meteor app that uses web3. So now it can interact with the smart ...
1
vote
2
answers
227
views
Call a function in meteor wihout confirmation in metamask
I am working on university project and this is the only and last point i need your help. I want to call automatically a state-changing function in meteor without the submit confirmation in metamask. ...
5
votes
2
answers
15k
views
Send wei to payable function with web3 async
I want to send 100wei to a payable function in my deployed contract. But i don't want to sign the transaction because of to much effort to get this going. I just want to submit the transaction with ...
0
votes
1
answer
140
views
Transfer contract address from truffle to meteor
I am very new to dApp-Development and therefore frankly i need some basic help.
How can i get the address of my deployed contract by truffle in meteor?
I hope there is a simple solution.
0
votes
3
answers
947
views
Send a transaction with Meteor in the JS file without click "submit" in metamask
I'm deploying a dapp with Meteor and Metamask.
I would like to send a transaction to the blockchain that is scheduled everyday and sends ETHER to a contract. This function works but when I use web3....
1
vote
1
answer
1k
views
Meteor web3 sendTransaction - error cannot create property 'from
Hello ethereum experts,
I got the following error in the Chrome's Javascript Console:
ethereum_web3.js?hash=ee8d37819d18de934b202361e374522a33bbd060:3783 Uncaught TypeError: Cannot create property '...
1
vote
1
answer
738
views
Running Ethereum Wallet and geth console together
I am a newbie with blockchain overall. What I am trying an an experimental basis is: having a webpage display my balance in one of my accounts (on test-net).
I am using meteor for my web interface, ...
2
votes
0
answers
58
views
show specific information to specific users in meteor dapp
if a have a dapp with different users, and each user has his/her own profile page they can log in to. On this profile page, the user should be able to change/add his user information (name, age, etc) ...
1
vote
0
answers
313
views
Link a profile page to an ethereum address?
If I have made a page with meteor where a user can login and see his own personal profile page, is it then possible to link that profile page to an ethereum address, so the user can update his profile ...
1
vote
0
answers
37
views
Connect meteor Dapp to ethereum testnet [duplicate]
I'm trying to build a Dapp using Meteor and Ethereum, but I'm having trouble connecting Meteor to Ethereum testnet. How can I do that? and is it possible to do without using a client such as metamask?
1
vote
1
answer
1k
views
Truffle vs Meteor [duplicate]
I have developed a dApp using Meteor. My question might sound a little dumb but here it goes: What is the difference between Truffle and Meteor? Are they exclusive from each other, is either one or ...
1
vote
0
answers
147
views
eth-lightwallet installation error
I'm using Meteor and have installed eth-lightwallet by typing
meteor npm install --save eth-lightwallet
and
meteor npm install --save ethereumjs-tx
However, when I import lightwallet from "eth-...
3
votes
0
answers
221
views
How do you connect to a node from the server side of a meteor app
This is the command I am using to run the node (a private testnet)
geth --networkid 420 --nodiscover --rpc --rpcaddr "0.0.0.0" --rpcport 8545 --rpcapi="db,eth,net,web3,personal,web3" --rpccorsdomain "...
4
votes
1
answer
428
views
Connecting to an ethereum node from meteor server side
I get the error TypeError: XMLHttpRequest is not a function when I try to connect to a node on the server side of my meteor application.
The error is caused by meteor using the meteor HTTP package ...
1
vote
1
answer
3k
views
Getting "Error: unknown account at Object.InvalidResponse" when appication is connected to private network using metamask
My Contract is:
pragma solidity ^0.4.8;
contract Awards {
address public owner;
string public name1;
string public name2;
string public name3;
function Awards() {
owner = msg....
6
votes
2
answers
683
views
Error with: meteor add ethereum:web3
If I run the command:
$> meteor add ethereum:web3
I get the following error message:
=> Errors while adding packages:
While checking for ethereum:[email protected]:
error: No ...
1
vote
1
answer
367
views
Solidity Contract not returning array
I am creating a contract of storing all the names and address of the users.
Then I returning the array of the names and address.
contract demo{
address public user;
uint public i=0;
...
13
votes
5
answers
11k
views
Getting Uncaught Error: new BigNumber() not a number: [object Object]
I am quite new to this. Please help me out.
I am trying to build a dapp using meteor. I am having a little trouble with calling a function of the contract using web3.
Here's the code snippet that's ...
2
votes
1
answer
1k
views
Secp256k1 bindings are not compiled. Pure JS implementation will be used
I am trying to create a meteor dapp that can sign a piece of data and then recover the address it was signed with. When I run the dapp I get this error in the console:
Secp256k1 bindings are not ...
1
vote
0
answers
118
views
Web3 API call error in Meteor Autovalue function and collection insert
I am running a Meteor application and faced with an error I cannot figure out. I am using a quick form to insert a document into a collection and one of the fields is a Hash address to be obtained ...
6
votes
4
answers
2k
views
"SSO-style" Login into app with web3.eth.accounts[0]
On top of the data exchanged through the Ethereum network, my app stores some extra user data in a classic DB (E.g. thumbnails, display preferences, newsletter management etc.).
Doing that has led ...
1
vote
1
answer
291
views
How to make Meteor + Geth working together?
I want to integrate a server side web server with a blockchain as a distributed database.
What patterns are available to do so?
1
vote
0
answers
115
views
Problem when trying to deploy contract due to meteor's modules/scripts
I have my meteor project
which when i run i get the following warnings:
First warning:
Mismatched anonymous define() module: function () { return BigNumber; }
intakeDefines @ aramk_requirejs....
2
votes
1
answer
303
views
Can't use object "compiled" in var compiled = web3.eth.compile.solidity(source);
I've been struggling for the past couple of days with this. I Can't use object "compiles" in var compiled = web3.eth.compile.solidity(source);
Here is my code in a JS file :
var Web3 = require('web3'...
1
vote
1
answer
867
views
Can't use object of web3.eth.compile.solidity(source)
I have the following code (source is the solidity contract to be compiled).
var compiled = web3.eth.compile.solidity(source);
var code = compiled.code;
var abi = compiled.info.abiDefinition;
However ...
0
votes
1
answer
197
views
How to change the state of a variable using a Meteor app and Metamask?
I try to develop a simple app with meteor and metamask.
I'm trying to change the state of the "name" variable of this contract throught my app :
contract demo{
string public name = 'Etienne';
...
1
vote
2
answers
2k
views
Cannot find module 'web3' meteor
I am trying to use the web3 API through my project in meteor. I saw an example that included web3 the following way:
<script type="text/javascript">
var Web3 = require('web3');
var web3 = new ...
2
votes
2
answers
478
views
How can i publish smart contracts accessible from all client
I've developed a simple smart contracts with browser solidity:
pragma solidity ^0.4.9;
contract demo {
string public name="Pietro";
function changeName(string _newName){
name=_newName;
...
6
votes
1
answer
329
views
Contract deployment without solidity online compiler
I am new to the dApp development. I want to deploy a contract to Ethereum through a website i am building. However i don't want the user to do it through the solidity online compiler or mist wallet. I ...
2
votes
0
answers
43
views
How to return form data from an EthElements.Modal.question?
I'm trying to process data from an EthElements.Modal.question, however no event is passed when OK is clicked and this just points to the model call data and not the Template content.
3
votes
0
answers
218
views
Implement constant search function in Solidity or in Javascript?
I am working with Meteor + Web3. Is it recommendable to implement a constant search function in Solidity or to transfer the data into a javascript array each time to then search in it?
Thank you!
3
votes
0
answers
76
views
Casting Object to BigNumber in Meteor DAPPs
Web3 incorporates the BigNumber library in order to handle 256bit numbers.
I'm finding this problematic in Meteor as most of Meteor's reactive storage schemes such as Session, ReactiveDict and ...
2
votes
1
answer
1k
views
Ipfs. Adding files using http request in meteor
Good day,
I've spent some time trying to upload file to ipfs using http request (from meteor).
Meteor.startup(() => {
// code to run on server at startup
Meteor.methods({
...
4
votes
1
answer
1k
views
How deploy a smart contract with meteor and metamask?
I will deploy a smart contract with meteor and matamask.
My code in main.js :
var inactivityTime = 1000;
var continuityContract = web3.eth.contract(Continuity.abi);
var continuity = ...
5
votes
2
answers
7k
views
Where is the geth.exe in the Ethereum mist?
I'm running Ethereum Mist on Windows 7. Mist Version is 0.8.6.
I can't find the geth.exe in the Mist github.
https://github.com/ethereum/mist
In the version 0.8.2, the geth path was "mist\nodes\...
2
votes
1
answer
442
views
Need an example to make a state variable reactive in Meteor
I'm having trouble properly understanding Meteor's reactivity and it's relation to contracts.
I've included the Ethereum Meteor packages ethereum:web3 and ethereum:blocks and read that EthBlocks....
3
votes
1
answer
457
views
How to reduce eth.filter.watch delay?
I have a test contract that emits events. I'd like to create a web app that shows a list of all created events + new ones as they arrive. I'm using Meteor app connected to geth 1.4.10 through rpc. The ...
2
votes
0
answers
308
views
How to work with MeteorJS in Truffle?
Truffle has not out of the box support for MeteorJS. Does this mean that meteor is not supported by Truffle? How easy is it to bring it together?
6
votes
1
answer
601
views
Workflow for Dapp Development
There is so much information out there that turns around this point that I decided to make a post, can someone please help out?
Does that sound correct as a work-flow for medium/large size projects ?:...