Questions tagged [django]

Django is an open source server-side web application framework, written in Python. It is designed to reduce the effort required to create complex data-driven websites and web applications, with a special focus on less code, no-redundancy and being more explicit than implicit.

Filter by
Sorted by
Tagged with
3
votes
1answer
1k views

Can I integrate smart contracts in Django application [closed]

I'm new to Blockchain and being from a Microsoft technology stack, a little biased to develop my smart contracts using Solidity. I am using truffle and NodeJS ecosystem. Now I've a Django application ...
2
votes
2answers
581 views

Using same port for web-hosting and geth node

I'm hosting a Django website on an Apache virtual machine and wanted to connect it Ethereum. Currently, the page I'm working on is hosted at 146.169.45.149:9002 Since I wanted to run a node at that ...
2
votes
1answer
2k views

How to make Ethereum tx using web3.py?

I am new to Ethereum. Using pywallet, In my project, I had make ethereum wallet in local. Infura API is used as a provider for me. https://mainnet.infura.io/MYTOKEN So I get balance of address ...
2
votes
1answer
986 views

Integrating web3 and Django

I'm trying to integrate web3 into a website which uses Django. This snippet of code is not working <script type="text/javascript"> document.getElementById("Mining").innerText = "Test"; ...
2
votes
1answer
491 views

How to get all transaction lists of local ethereum wallet using web3.py?

I have developed django project that have local ethereum wallet using web3.py. I want to get transaction history of my wallet. But I have no way. Please help me.
2
votes
0answers
585 views

What is the best practice of a Dapp development mixed with Python/Django?

I've written and tested the Smart Contracts in Truffle, and now want to develop a front-end and a small back-end for my Dapp. So far, I preferred MVP frameworks, particularly Django. Therefore, what ...
1
vote
1answer
614 views

How to use sendRawTransaction of web3.py?

I read the web3.eth.API carefully and I typed the code in my project. signed_txn = self.web3.eth.account.signTransaction( { 'nonce': self.web3.eth.getTransactionCount(Web3....
0
votes
0answers
28 views

compile_files gives errror for given path of the contract [duplicate]

pragma solidity ^0.5.1; import "./Owned.sol"; contract Greeter is Owned { bytes32 public greeting; event GreetingChange ( address indexed changer, bytes32 indexed _from, ...
0
votes
0answers
23 views

how to write smart contract in django python?

I am trying to create a daap website in django. In django use apps to write views and urls to mvc pattern. I tried to create an app and wrote smartcontract there but i am not able to access it. I have ...
0
votes
2answers
107 views

I am getting solc error while compiling solidity code via py-solc. Is it due tonew update of py-solc ? how to fix it?

from . import views File "/home/manzik/Desktop/Ethereum Voting/voting/home/views.py", line 5, in import commission.views as comm File "/home/manzik/Desktop/Ethereum Voting/voting/commission/...
0
votes
1answer
201 views

How to make batch transaction in ethereum using web3.py

I want to make batch transaction in ethereum using the web3.py. I found web3.createBatch() in Web3.js, but i can not find it on web3.py.
0
votes
1answer
101 views

How to send transaction using ethereum contract?

I made ethereum contract according to sample code. And then generated ethereum wallet. The abstract contract is as follow. pragma solidity ^0.4.18; /** * @title ERC20Basic * @dev Simpler version ...
0
votes
0answers
252 views

pywallet: Which is the private key of child wallet?

Using pywallet, I have developed ethereum wallet under following code. seed = wallet.generate_mnemonic() wallet_info = wallet.create_wallet(network=network, seed=seed, children=0) In this case ...