Questions tagged [embark]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
96 views

Stuck at "ipfs process started" after running embark

I ran the following commands, embark demo cd embark_demo embark run embark info invoked /home/k00lawn/.nvm/versions/node/v10.17.0/lib/node_modules/embark/bin/embark embark info located /home/k00lawn/...
k00lawn's user avatar
  • 11
0 votes
0 answers
108 views

Is there a tool to add SafeMath to production code?

There are a lot of tools to prepare JavaScript/CSS code for production, e.g. to minimize, to convert ES8 code to ES5. Is there a tool to automatically apply SafeMath library to a .sol file? The ...
traxium's user avatar
  • 163
0 votes
1 answer
41 views

How do I set from address in embark tests

In my embark tests, I have the following tests: it("should allow setting new beneficiary by owner to valid address", async function () { //await UTO.setBeneficiary(0x0, {from: owner}).should....
Mad Martian's user avatar
0 votes
1 answer
37 views

How do I update compiler for embark?

I am rewriting an old contract I had. I am using the latest version of OZ contracts.. but they require: pragma solidity ^0.6.2 I am using embark 5.2.3 and current compiler is 0.6.1+commit.e6f7d5a4....
Mad Martian's user avatar
1 vote
0 answers
201 views

Truffle vs. Embark [closed]

Say a programmer developer a web front-end using Truffle/Drizzle. The developer moved on and a new developer, who only knows JavaScript comes along to manage and extend the Dapp. Someone told me that ...
Eric Falkenstein's user avatar
1 vote
3 answers
69 views

Getting "Error while loading the content of <contract>.sol"

After setting up the "embark-create-react-dapp-template", I didn't see a folder for contracts. So I've created one under the root level of the project (just like in the demo). But then when I executed ...
Rockman Al-Mutawa's user avatar
1 vote
0 answers
281 views

Infinite gas cost when trying to use transfer()

I tested the contract using Remix Javascript VM, Injected Web3(Ropsten) and in-built Ganache client from Embark Framework(4.0). Always getting infinite gas usage. Can someone please help me? This is ...
shscs911's user avatar
-1 votes
1 answer
170 views

Embark Demo Issues

I've been able to open the embark console but I found that there were a few missing messages on the console. It appears that there is "no blockchain" and the status does not show anything. I tried ...
Calvin's user avatar
  • 41
0 votes
0 answers
107 views

How to register truffle contract with ENS(Ethereum Name Service)?

I am wondering how I can publish my smart contract to ENS via truffle. I think I might need to include a smart contract called ENS.sol, but I am not sure. Is it the same as publishing a package to ...
GrandFleet's user avatar
0 votes
1 answer
380 views

What are the current challenges developers face in creating a dapp in ethereum? [closed]

Can you tell what are the pain points for the Blockchain developers while developing DApp/ managing consortium networks.
Shubham Arora's user avatar
1 vote
0 answers
437 views

How to downgrade geth version?

I'm having this error, which I doubt is because of the newer version of geth & the project being more than a year old. I'm unable to downgrde geth anything below 1.5.9, I'm using a mac. Also, I'...
Vansh Badkul's user avatar
0 votes
1 answer
338 views

Call instance function of a contract from embark console

I was following this tutorial.I have deployed the following two contracts on testrpc: pragma solidity ^0.4.7; contract MDBService { mapping (address => address) accounts; mapping (uint =&...
Himanshu Chandra's user avatar
0 votes
1 answer
134 views

Use other than default account in testrpc

I am using embark to deploy my contracts.What I need is to call a contract function from a different account rather than account[0] generated by testrpc. i.e. msg.sender should contain the address of ...
Himanshu Chandra's user avatar
0 votes
1 answer
2k views

When I deploy a smart contract does it create a new block or when I perfrom a write operation in the smart contract

I am new in smart contracts and ethereum development DAPPS. I am just curious to know about blocks when they are created and how a block is different from a transaction and a new block is created. ...
Anand Siddharth's user avatar
1 vote
1 answer
119 views

How to call a payble function in embark? When I am trying it is showing gas limit exceeds

when I am trying to call payble function in embark it is showing gas limit exceeds. Please tell me where I am wrong? ///////////////// Index.js: $('#buy button').click(function() { ...
Shubhabrata Mukherjee's user avatar
0 votes
1 answer
1k views

Invalid JSON RPC response: "400 Bad Request" in Simple Embark Dapp

im new to Embark, following my first tutorial here at https://hackernoon.com/how-to-create-a-token-factory-with-ethereum-part-1-85e84d1f38fc When I run the following in the console Token._supply()....
Nyxynyx's user avatar
  • 1,167
3 votes
1 answer
224 views

Relation Between 'testrpc', 'embark simulator', 'embark run development' and 'Intelij idea'

I am very much confused on the relation between these four different stuffs (testrpc, embark simulator, embark run development, inellij idea ) . I have installed these all on Ubuntu . My question is ...
Gopal ojha's user avatar
  • 2,259
2 votes
2 answers
822 views

Testrpc and embark using same port

While setting environment for ethereum , I got an Error that port 8545 is listened by another process, Actually testrpc and embark simulator both are using the same port. If i kill one process and ...
Gopal ojha's user avatar
  • 2,259
4 votes
1 answer
234 views

I am using Embark , i wrote a command 'make geth' it throws the error

make: *** No rule to make target 'geth'. Stop. I don't know what does it mean .
Gopal ojha's user avatar
  • 2,259
4 votes
3 answers
1k views

How to retrieve stored data from blockchain?

I built a dapp integrating IPFS and Ethereum, in which the blockchain will store (in transaction) the links of every file uploaded to IPFS. But I want to display the IPFS links of all the files I ...
Sam Gregory's user avatar
8 votes
2 answers
1k views

Which one is suitable frameworks for Dapp development(Truffle, Embark, Dapple)? [duplicate]

Right now we have major Dapp development frameworks. Truffle Framework Embark Dapple What are the pros and cons of each one. On what basis this could be chosen. And what each frameworks needs to ...
Seetharaman GR's user avatar
2 votes
1 answer
126 views

Connecting RDBMS using Embark

Can someone please explain, How can we configure SQL database for e.g. MySQL using Embark framework and How do we configure this in application.
Amit Kumar Kashyap's user avatar
1 vote
1 answer
297 views

How can I tell who has called a function / contract?

I am very new to Ethereum and don't really understand the problem spec very well, so bear with me. There is a function named GetVotesCount() in the contract MordorVote which I must limit to only ...
Daniel Paczuski Bak's user avatar
3 votes
1 answer
489 views

embark demo doesn't work: cannot read property "1" of null

blockchain@blockchain-VirtualBox:~/embark$ embark demo Initializing Embark Template.... Installing packages.. this can take a few seconds Init complete App ready at ./embark_demo ------------------- ...
Daniel Paczuski Bak's user avatar
1 vote
2 answers
265 views

Embark serverside

This is perhaps a stupid question but i'm not getting it. How do you use Embark in NodeJS or is it client side JavaScript only. Because in the demo there is no server side code. It looks like it's ...
just_trying_stuff's user avatar
1 vote
2 answers
715 views

Ownership of Contracts with Embark

I'm using the Embark-Framework to handle my DApp development. I made a new contract that has the public address owner. Example below: pragma solidity ^0.4.7; contract MyContract { address public ...
David's user avatar
  • 301
1 vote
1 answer
350 views

Can't call contract method/function from another contract but can call directly

In Embark, programming in Solidity. I have a contract, which is called by another contract. The function it calls is below. Whenever I perform a write command I get a "VM Exception while processing ...
Some Guy Trying To Do Math's user avatar
1 vote
1 answer
355 views

What is the simplest way I can build a blockchain app using embark framework?

What is the simplest way I can build a blockchain app using embark framework? where does it store the data if I don't use IPFS? How do I run it on multiple instances in my machine for testing?
Dinuksha Samanage's user avatar
2 votes
0 answers
242 views

Error in dapp developed using 'Truffle' framework -Smart contract function call won't get executed

I am developing a dapp using 'testrpc' and 'truffle'.I have also used ethereum-bridge for Oraclize.I have written a smart contract function which calls a url using 'OraclizeQuery'. The following is ...
Crissi Mariam Robert's user avatar
0 votes
1 answer
362 views

Smartcontract function call won't get executed in dapp developed using 'Truffle' framework

I am developing a dapp using 'testrpc' and 'truffle'.I have also used ethereum-bridge for Oraclize.I have written a smart contract function which calls a url using 'OraclizeQuery'.I have added the ...
Crissi Mariam Robert's user avatar
1 vote
1 answer
682 views

How to use orbit-db visualization in dapp created using Embark Framework?

This is the contract code:- pragma solidity ^0.4.7; contract SimpleStorage { string public storedData; function set(string x) { storedData = x; } function get()...
Crissi Mariam Robert's user avatar
3 votes
1 answer
593 views

How to use set and get in IPFS with Embark Framework?

I am using Embark Framework.I am trying to store a string value in IPFS and then to retrieve that string using the hash. Contract Code (simple_storage.sol) :- pragma solidity ^0.4.7; contract ...
Crissi Mariam Robert's user avatar
1 vote
2 answers
282 views

Issue in Embark command 'embark ipfs'

I am using Embark version 2.1 .I have used the command 'embark ipfs' but it returns the following error. /usr/local/bin/ipfs /home/toshiba/.nvm/versions/node/v6.9.1/lib/node_modules/embark/...
Crissi Mariam Robert's user avatar
4 votes
1 answer
658 views

IPFS Integration with dapp developed using Embark Framework

This is the contract code. pragma solidity ^0.4.2; contract SimpleStorage { uint storedData; function set(uint x) { storedData = x; ...
Crissi Mariam Robert's user avatar
2 votes
1 answer
341 views

How to fix the "Incorrect usage" error when using the Embark framework with geth

I'm starting to use Embark framework and at some point, when I try to run an Ethereum node with the following command: geth --datadir="/tmp/embark" --logfile="/tmp/embark.log" \ --port 30303 --...
amp's user avatar
  • 123
1 vote
1 answer
139 views

Adding npm packages to embark framework

Does the embark framework use browserify for package management? How do I add a package (say buffer) to the project? I used npm i --save-dev buffer and can see the dependency added to package.json ...
samurai jack's user avatar
  • 1,125
2 votes
1 answer
619 views

Embark + IPFS storage error: Cannot find module 'fs'

I am using the Embark framework demo code and trying to include IPFS storage (not deployment) functionalities to the project. I get an error message when I try to execute the following code in the ...
samurai jack's user avatar
  • 1,125
3 votes
1 answer
157 views

Migration between frameworks

How much effort would it be to migrate a Dapp written in embark to truffle or vice-versa? Which parts of the code can be preseved (would work in both frameworks)?
samurai jack's user avatar
  • 1,125
19 votes
2 answers
2k views

What is embark?

What is the embark framework? Who can use it, who should use it? And what are the benefits?
q9f's user avatar
  • 32.9k
2 votes
1 answer
785 views

How to use contracts deployed by embark on the server side of a meteor app?

I have created my example using embark meteor_demo and then changed my configuration on embark.yml to output the contract on the server folder instead of the client. From that point i started getting ...
kroe's user avatar
  • 226