Skip to main content

Questions tagged [development]

Filter by
Sorted by
Tagged with
0 votes
1 answer
41 views

Where to start building a blockchain on EOSIO

Where can I find a step by step or at least the docs on how to create a blockchain on EOSIO? Their website has a bunch of resources but mostly for apps and smart contracts, but not clear info on ...
F_Bass's user avatar
  • 111
1 vote
1 answer
48 views

How to actually deploy a live blockchain?

I have been researching a lot about how to build a new blockchains. So far, all guides say very similar things: Identify use case Identify consensus method Design nodes design blockchain select a ...
F_Bass's user avatar
  • 111
0 votes
2 answers
529 views

How to install nodeos on ubuntu 20.04

The prebuilt binaries are for Ubuntu 16.04 and Ubuntu 18.04 My laptop has Ubuntu 20.04 and I want to install nodeos for development and testing. I downloaded the eosio_2.0.7-1-ubuntu-18.04_amd64.deb ...
Ami Heines's user avatar
  • 1,686
1 vote
1 answer
65 views

Is it possible to do a demo with testnet without buying EOS RAM?

I'm a rookie when it comes to developing Dapps. I'm thinking of doing a project using EOSIO. I just need to do a demo to showcase my project so I don't need to deploy it for others to use. I don't ...
hongmei's user avatar
  • 11
0 votes
1 answer
192 views

Strange checksum256->uint64_t casting

I'm trying to cast checksum256 to uint64_t Here is conversion code: uint64_t checksum_to_uint64(const eosio::checksum256 & digest) { auto checksum_bytes = digest.extract_as_byte_array()....
Mikky Snowman's user avatar
0 votes
0 answers
98 views

When deploying a contract what is important (overall contract/wasm size or amount of functions etc) to not get transaction took too long

when I try to deploy the system.contract I sometimes get transaction took too long with the new eosio version 1.8.1. Now I would like to know on which part of a contract do I need to pay attention ...
sinbad's user avatar
  • 99
1 vote
2 answers
242 views

How to pass a map into an action

I'm trying to pass a map into action, but there is serialization error: Error: expected object containing data: undefined There is a function signature: void init(uint64_t id, const map<uint8_t, ...
Mikky Snowman's user avatar
1 vote
1 answer
100 views

What exactly the merkle function is returning?

In the below file, https://github.com/EOSIO/eos/blob/v1.7.4/libraries/chain/merkle.cpp, what do ids.front() mean?; what exactly this function Merkle is returning? Could you please explain what this ...
Vijay Sugali's user avatar
1 vote
1 answer
43 views

What is the source code of implementation of EOS Blockchain latest version?

Please provide the link for the latest version of EOS blockchain source code. We are trying to implement concurrency in EOS Blockchain. But for that, we need to analyze the whole code and we should ...
Vijay Sugali's user avatar
1 vote
2 answers
970 views

Using find on multi index table

I have a table defined as the following: struct [[ eosio::table, eosio::contract("voting") ]] identity { uint64_t key; key256 identityHash; time_point_sec createdAt; uint64_t ...
Tachyon's user avatar
  • 131
1 vote
0 answers
74 views

Get symbol & contract from asset

I currently have an asset property that stores a value, i.e. 100 EOS which could also be another token like 100 TLOS. Is there a way to extract the symbol and possibly the token contract from that ...
Tachyon's user avatar
  • 131
0 votes
0 answers
274 views

Regex validation on smart contracts

Is is possible to use regex validation in a smart contract?
user3040's user avatar
5 votes
1 answer
322 views

Is it secure to use keosd in an aws to let dapp/app server sign transaction?

I would like to know if it is secure to run keosd on an aws locally as a hot-wallet, to let the server of a dapp send a transaction which should be signed to the aws. The server of the dapp would get ...
sinbad's user avatar
  • 99
2 votes
2 answers
334 views

A possible alternative sign in/login process instead of firebase auth / amazon cognito using an eos contract?

I had the the idea of a secure alternative login process using an EOS smart contract instead of firebase or Amazon cognito. I would like to know if something like this feasible? My idea is somewhat ...
Mangooxx's user avatar
  • 341
2 votes
2 answers
179 views

How do tokens that pay dividends work?

If a token is created as a standard eosio.token, what are some approaches for paying out dividends to token holders?
guest192's user avatar
4 votes
1 answer
115 views

BUG when two accounts send action at the same time to modify multiindex table

It took me several days to find the bug. I got a table like this TABLE t {uint64_t key, name player1, name player2, uint64_t status}; When the contract received the specific action, it will go ...
eoser's user avatar
  • 49
2 votes
1 answer
152 views

Is it possible to compile EOS contract with out 'make install' of EOSIO?

building eosio source needs pretty high resource, so I want to deploy with out build eosio source. or at least I want to compile it with out "make install". could it be possible?
sejin's user avatar
  • 76
1 vote
2 answers
113 views

Where does the most active EOS community reside? IRC? Telegram? Slack?

Where is the active eos developer community reside? Do they hangout in IRC? Slack? Telegram? I don't care for eos speculation trading chatrooms.
Patoshi パトシ's user avatar
1 vote
0 answers
12 views

What is the main library do most people use when building out mobile wallets for EOS?

What is the main library that most people use when building out mobile wallets for EOS? How does it communicate with the block producer nodes to execute account related commands?
Patoshi パトシ's user avatar
4 votes
1 answer
126 views

What is the quickest way to get a local EOS Block Explorer up and running?

I would love to have an EOS Block Explorer on my local machine for during development. Would be a great development tool :-). Who can provide me the steps / tools to get it up and running?
Bas van der Lans's user avatar
2 votes
1 answer
617 views

Where is the roadmap for EOS development? What is happing in 2019 and beyond?

What is planned for EOS in the coming future? Where can one see the roadmap for the project?
Patoshi パトシ's user avatar
1 vote
1 answer
26 views

Compiled modified cleos

I've made some changes to the main.cpp file in the folder /programs/cleos/. How can i compile only this file? I've tried with g++ main.cpp but i have to link all the include directories using -I and ...
damianodamiano's user avatar
3 votes
1 answer
199 views

What will happen with database and inline transaction when a transaction doesn't get 2/3+1 in the end?

As the questions says, what will happen with the database and inline transaction when a transaction doesn't get the 2/3+1 "Votes" from the block producer that a transaction is legit? Will all changes ...
Mangooxx's user avatar
  • 341
1 vote
1 answer
71 views

other way to let contract account provide for cpu/bandwidth than delegatew/undelegatew?

as far as i can tell it is somehow inconvenient to let the user of an contract "pay" for the cpu time. I thought that the one who manages the contract, has to stake for cpu/bandwidth, so user can use ...
sinbad's user avatar
  • 99
3 votes
2 answers
2k views

How to get transactions from an account through API call

Is it possible to get the incoming and outgoing transactions from an account? according to this https://developers.eos.io/eosio-nodeos/reference link there is no way to do so. I've seen people making ...
Wesley's user avatar
  • 41
2 votes
2 answers
137 views

How to use std::tuple with eosiocpp?

I am trying to use typedef std::tuple<double, double> location_t; to create a simple tuple with latitude and longitude, but eosiocpp gives me 2018-09-02T12:54:47.310 thread-0 main.cpp:105 ...
Vivienne Fosh's user avatar
3 votes
1 answer
197 views

What is the complete setup (technology) stack for developing an EOS-powered video game?

It will have to use cleos backend, as well as a JavaScript server, and the front-end will be a video-game such as this one (as an example only, warning, it requires flash): https://armorgames.com/...
Damir Olejar's user avatar
5 votes
1 answer
124 views

Is it possible for a smart contract to deploy another?

Is there a command for a smart contract to deploy another? As an example, is it possible to create a token factory, where users can select the name/total supply, and be given ownership of a new ...
Dominic Romanowski's user avatar
1 vote
2 answers
574 views

print in contract not showing output in eosjs docker

i want to print some logs in eosjs docker version. But somehow it is not showing anything. I have set: # print contract's output to console (eosio::chain_plugin) contracts-console = true in the ...
sinbad's user avatar
  • 99
3 votes
1 answer
60 views

Is it possible to use multi_index on property of a struct in a struct?

can i use the id of a struct in an other struct as return value for multi_index? like: //@abi table test i64 struct st_test{ uint64_t id; string name; uint64_t primary_key() const {return ...
Mangooxx's user avatar
  • 341
2 votes
1 answer
848 views

sha256 in function returns two different checksums and checksums don't change

i have two functions in which i calculate the checksume of a string. The first Problem is, i can change numa and numb as i want i always get the same checksume. It is as the string is not used. The ...
sinbad's user avatar
  • 99
0 votes
1 answer
605 views

How to delete struct object in a vector<struct>?

I thought it would be good idea to store a object of struct in a vector because I have seen it in a tutorial Tutorial but now I have a problem if I want to remove it from the vector. I want to make ...
Mangooxx's user avatar
  • 341
1 vote
1 answer
135 views

Secure way to sign a Transaction in a polling Service

assume i have written an polling service in nodejs which i would like to run on an aws e2 instance (t2.nano/t2.micro). This service will observe a specific account every 10sec or so for incoming ...
Mangooxx's user avatar
  • 341
-1 votes
1 answer
132 views

Error when building EOS from source

I've tried to build eos from source code and I get the error message below : [ 83%] Generating dice.abi.hpp [ 84%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/elliptic_secp256k1....
Kim Min's user avatar
  • 11
2 votes
1 answer
154 views

How to prevent cheating in a turn-based-game on blockchain?

I want to create game where p1 and p2 take actions in turns but neither p1 nor p2 should be able to see the action, the other is doing till the end of the game. If I would do it like in a normal Web-...
Mangooxx's user avatar
  • 341
0 votes
2 answers
71 views

EOS Programming tools in the near future?

I am starting to make my first steps on EOS programming but I find the tools available to be quite raw at the time being. There are many things (Integrated IDEs, platform installers, etc) that could ...
Ignacio Oroná's user avatar
3 votes
3 answers
337 views

How to update local EOS installation?

I installed EOS locally following the instructions here https://github.com/EOSIO/eos/wiki/Local-Environment Which basically involve: git clone https://github.com/EOSIO/eos --recursive ./eosio_build....
User's user avatar
  • 221
1 vote
2 answers
718 views

How to setup eosiocpp to find standard libraries?

I pulled the eos github repo and compiled the tools. Now, in my project folder, I want to compile the contract like ~/repo/eosio/eos/build/tools/eosiocpp -o contract/contract.wast contract/contract....
friedger's user avatar
  • 833
2 votes
1 answer
132 views

Main steps for preparing IDE for Nodeos development

I'm a Java developer so I am a bit new to prepare IDE for C+ project. What are the main steps for preparing development environment for Nodeos? I downloaded full source code from github/eos/eosio and ...
congnghebitcoin.com's user avatar
7 votes
3 answers
592 views

Which NodeJs UI Framework is most suitable for EOSJS

I'd like to know which Framework you should use in eosjs. I have little experience with JavaScript and so I don't know which Framework works best together with eosjs or does the framework even matter? ...
Mangooxx's user avatar
  • 341
1 vote
0 answers
144 views

Failed to deserialize variant EOSJS

I am following this tutorial https://github.com/eosasia/ping-eos I am trying to connect my web application to my smart contract. when i use cleos to test the smart contract i am able to see that the ...
wandos's user avatar
  • 221
7 votes
5 answers
2k views

EOSJS tutorials

I have checked Where can I find complete (whole stack) EOS dApp development example projects? With smart-contracts, the necessary C++ coding and a browser interface? But I haven't found a full EOSJS ...
wandos's user avatar
  • 221
8 votes
2 answers
446 views

Nodeos failing to launch?

After a fresh build, nodeos tests are failing: The following tests FAILED: 28 - nodeos_run_test (Failed) 29 - nodeos_run_remote_test (Failed) Errors while running CTest Verbose output from ...
Don's user avatar
  • 1,165
9 votes
2 answers
645 views

Which version of C++ can I use in smart contracts?

Which version of C++ can I use to implement smart contracts? For example: C++11, C++14 or C++17? Do we have any constant or doc where it is defined? Also, in my understanding the code is sandboxed, ...
Danail's user avatar
  • 536
4 votes
2 answers
173 views

Is there going to be support for a native Windows Development environment?

Is there a plan or is it already possible to run the EOS dev environment on Windows? The only thing I have found about this topic is this link where they are using Ubuntu for Windows to make it ...
Cryt1c's user avatar
  • 43
31 votes
5 answers
3k views

Where can I find complete (whole stack) EOS dApp development example projects? With smart-contracts, the necessary C++ coding and a browser interface? [closed]

I can't wait to find complete EOS.io dApp examples. Not only the WASM and Smart Contract, but the complete stack with f.e. the web interface. Please add any EOS dApp Example project as answers on ...
Bas van der Lans's user avatar
7 votes
1 answer
372 views

Developing Smart Contracts with Docker

If I have the eos chain running in a Docker container, how can I interact with it from my local file system? I would love to be able to create my contracts, compile them, and deploy to my docker ...
cipherz's user avatar
  • 201
28 votes
3 answers
581 views

Is there a standard for naming and formatting that EOS projects should follow / EOS C++ coding style?

Coming from other C++ projects like Unreal Engine I was surprised to see coding standards in the EOS codebase is all lowercase, not only for variables but even for class names. Is there any resource ...
Soleone's user avatar
  • 674