Saravanan666/pypi-org huggingface dataset:
Package: web2pyrecipe
A buildout to develop the web2pyrecipe.It should download the lastest version of web2py, install an user defined appand create a script to run it.- Code repository: http://github.com/douglascamata/web2pyrecipe...- Questions and comments to d.camata@gmail.com- Report bugs at http://github.com/douglascamata/web2pyrecipe/issues..Detailed Documentation**********************Supported options=================appdirThe directory where the compressed web2py application should be ...defaultThe default app of the web2py server ...passwordThe password for web2py adminsitrative app ...Testing now::>>> write('buildout.cfg',... """... [buildout]... parts = test1...... [test1]... recipe = web2pyrecipe... password = 123... pidfile = pid.txt... appdir = %(dir)s... default = web2py.app.chat... option2 = %(bar)s... """ % { 'dir' : 'web2pyapps', 'bar' : 'value2'})>>> mkdir('web2pyapps')...Downloading example app::>>> system('wget http://www.web2py.com/appliances/default/download/app.source.aa6d3615911c89b6.7765623270792e6170702e636861742e773270.w2p -O web2pyapps/web2py.app.chat.w2p -q')''Running the buildout gives us::>>> print 'start', system(buildout)start...Installing test1.Unused options for test1: 'option2'.<BLANKLINE>Checking the root directory structure::>>> ls('.')-  .installed.cfgd  bin-  buildout.cfgd  develop-eggsd  eggsd  partsd  web2pyd  web2pyappsChecking the test app for w2p::>>> ls('web2pyapps')- web2py.app.chat.w2pChecking if web2py is extracted correctly::>>> ls('web2py')-  ABOUT-  LICENSE-  Makefile-  NEWINSTALL-  README-  VERSION-  __init__.py-  anyserver.py-  app.example.yaml-  appengine_config.pyd  applications-  cgihandler.py-  epydoc.conf-  epydoc.css-  fcgihandler.py-  gaehandler.pyd  gluon-  isapiwsgihandler.py-  logging.example.conf-  modpythonhandler.py-  options_std.py-  queue.example.yaml-  router.example.py-  routes.example.py-  routes.py-  scgihandler.pyd  scripts-  setup.py-  setup_app.py-  setup_exe.py-  setup_exe_2.6.pyd  site-packages-  splashlogo.gif-  web2py.py-  wsgihandler.pyChecking if the test app is correctly extracted at web2py's application directory::>>> ls(join('web2py','applications'))-  __init__.pyd  admind  examplesd  web2py_app_chatd  welcome>>> cat(join('web2py','routes.py'))default_application = 'web2py_app_chat'default_controller = 'default'default_function = 'index'Checking if the script for running the web2py server is created on 'bin' directory::>>> ls('bin')- buildout- web2pySo, let's check the content of 'web2py' script::>>> cat(join('bin','web2py'))#!/bin/bashPYTHON=python<BLANKLINE>start() {${PYTHON} web2py/web2py.py -a 123 -d pid.txt &}<BLANKLINE>stop() {kill `cat web2py/pid.txt`}<BLANKLINE>case "$1" instart)start;;stop)stop;;restart)startstop;;*)echo "Usage: web2py {start|stop|restart}"exit 1;;esacexitContributors************"Douglas Camata", AuthorChange history**************1.0.1 (2011-11-10)----------------- Lots of refactoring to a more pythonic and lesssystem-depedent code1.0.0 (2010-09-30)----------------- Initial releaseDownload********
Package: web2py_utils
Web2py UtilsContains lots of goodies for use with web2py and web developmentAboutAfter using web2py for quite a while I have an eclectic mix of utilities that
I seem to be using for almost every web2py app I develop now!I needed both a way to organize the same code across multiple web2py apps and I
also wanted to share this code with the world!Lots of Goodies!Common shortcutspy2jquery moduleHeirarchical category module.Database store configuration settingsClass based menu buildersyntax highlightingOutput compressionPaginationStop words listsLevenstien algorithmNGram algorithmNew SQLHTML widgets (able to pass class attributes to them)Convert wordpress xml export into a python dict!Comments, tagging, and pingback/trackback plugins!Unittesting, code coverage.
Package: web3
web3.pyA Python library for interacting with Ethereum.Python 3.7.2+ supportQuickstartGet started in 5 minutesortake a tourof the library.DocumentationFor additional guides, examples, and APIs, see thedocumentation.Want to help?Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our
guidelines forcontributing,
then check out issues that are labeledGood First Issue.Questions on implementation or usage? Join the conversation ondiscord.
Package: web3-account
Web3AccountWeb3Account- this module is a Python client library as the simplest way to use Web3 featuresInstallationInstall the current version withPyPI:pipinstallweb3-accountUsageYou can make trasfers like thisfromweb3_accountimport*account=Web3Account("",# your secret key"avalanche",after_tx_sleeping=False# after_tx_sleeping - sleep random timing after submitted tx)tx_status=account.send_money("0x54C32309b67e72bD44899e46EC630d14Eb96125f",0.001)logs.info(f'Tx status:{tx_status}. If it is True - tx complited, else: failed')On Lib already includes web3 nodes for all popular chains (usingAnkr), so, you can change it if it neededlinks={"polygon":['http://my_custom_node.com']}account=Web3Account("",# your secret key"polygon",# set up work net_nameafter_tx_sleeping=False,# after_tx_sleeping - sleep random timing after submitted txnodes=links# our custom links)Example of swapsLib also includeswap* function from 1inch api urlfromweb3_accountimport*account=Web3Account("",# your secret key"polygon",after_tx_sleeping=False# after_tx_sleeping - sleep random timing after submitted tx)matic_balance=account.get_native_balance()human_readable_balance=Web3.from_wei(matic_balance,'ether')logs.info(f'Balance:{human_readable_balance}')# print without file loggingaccount.logger.info(f'Balance:{human_readable_balance}')# print with file loggingtoken_out="0x2297aEbD383787A160DD0d9F71508148769342E3"# btc addressswap_response=account.swap("eth",token_out,round(matic_balance*0.1),increase_gas_price=3# increase_gas_price coef of increasing gwei price (for polygon recomended))# will buy btc with $matic for 10% of total balancebtcb_balance,human_readable_btb_balance=account.get_balance(token_out)account.logger.info(f'Have:{human_readable_btb_balance}$btc')swap_response=account.swap(token_out,"eth",btcb_balance,increase_gas_price=3# increase_gas_price coef of increasing gwei price (for polygon recomended))# will sell btc to matic on ALL balance of btcaccount.logger.info(f'Swap response:{swap_response}')ContributingBug reports and/or pull requests are welcomeLicenseThe module is available as open source under the terms of theApache License, Version 2.0
Package: web3-async-multi-provider
Web3 async multi providerWeb3.py compatible async providers that supports multiply RPC URLsThis library allows to create aw3instance with multiply RPC URLs to prevent failures when a node is down by choosing another one by cycle.FeaturesHTTP async providerWebSockets async providerOverviewHTTP w3 providerimportweb3fromweb3_async_multi_providerimportAsyncWSMultiProviderprovider=AsyncHTTPMultiProvider(providers=[web3.AsyncHTTPProvider("https://eth.llamarpc.com"),web3.AsyncHTTPProvider("https://rpc.flashbots.net"),])WebSockets providerimportweb3fromweb3_async_multi_providerimportAsyncWSMultiProviderprovider=AsyncWSMultiProvider(providers=[web3.providers.WebsocketProvider("wss://example.com/"),web3.providers.WebsocketProvider("wss://google.com/"),])And then add it intoWeb3:w3=web3.Web3(providermodules={"eth":[web3.eth.AsyncEth]},middlewares=[])print(awaitweb3.eth.chain_id)InstallationVia PyPI:python-mpipinstallweb3_async_multi_providerOr via GitHubpython-mpipinstallhttps://github.com/deknowny/web3-async-multi-provider/archive/main.zipContributingCheck outsite Contributing section
Package: web3Batch
web3Batch.pyInstallationpip install web3BatchExamplefromweb3importWeb3fromweb3BatchimportWe3Batchcontract_addresses=['0x...','0x...',...]endpoint_uri='https://localhost:6000'web3=Web3(Web3.HTTPProvider(endpoint_uri))# Your abi for contractsabi={...}contracts=[web3.eth.contract(address=web3.to_checksum_address(contract_address))forcontract_addressincontract_addresses]wb=Web3Batch(endpoint_uri)forcontractincontracts:wb.add_contract_request(contract=contract,fn_name='balanceOf',args=(web3.to_checksum_address(contract.address)))responses=wb.send_requests()
Package: web3cat
Welcome to Web3cat!Meow, fellow researcher!Web3cat is a framework for fetching and analyzing blockchain data.Currently, it supports only EVM chains:Ethereum,Polygon,BNB, etc.Design philosophyVisualize the data with minimum codeFree for downloading, saving, and analyzing the data however you wantCache the data to avoid re-fetching anything at allFully decentralized, that is, depending only on the blockchain RPCQuick demoGetting startedInstall python packagepip install web3catSet up your archive node rpc. The easiest (and also free) way is to useAlchemy.Set initial configurationimport os
os.environ['WEB3_PROVIDER_URI'] = 'https://eth-mainnet.g.alchemy.com/v2/<YOUR_ALCHEMY_API_KEY>'
os.environ['WEB3_CACHE_PATH']="cache.sqlite3"(optional for Jupyter) Initialize bokeh for python notebooksfrom bokeh.io import output_notebook

output_notebook()Run sample visualizationfrom web3cat.view import View
from datetime import datetime

v = View(token="DAI", start=datetime(2022, 6, 1), end = datetime(2022, 10, 30)) \
    .total_supply() \
    .balance(["0x5d3a536E4D6DbD6114cc1Ead35777bAB948E3643", "0xbEbc44782C7dB0a1A60Cb6fe97d0b483032FF1C7"])
v.show()Get underlying datav.get_data(0).transfers[["date", "block_number", "from", "to", "value"]]RoadmapUse framework base layers to add analytics for protocols like
Uniswap, Liquity, Aave, Compound, Frax, etc.ContributingSo far no bureaucracy here, open issues, make pull requests, and have fun!
Package: web3client
Batteries-included client to interact with blockchains and smart contracts; used byweb3cliandcrabada.py.FeaturesEasily create a client to interact with EVM-compatible chainsWorks with Ethereum, Binance, Avalanche, Arbitrum One, zkSync Era, etc.Subscribe to pending transactions in the mempool and new blocksFlexible logging of RPC calls and transactionsInteract with tokens and ETH with the same dual interfaceIncludes a client for Compound V2 operations, and its clonesSave gas by setting an upper limit on the base feeNeed more flexibility? Use directly the underlying web3.py clientInstallpip3install-Uweb3clientExamplesStream pending transactions on the zkSync Era network:fromweb3client.base_clientimportBaseClientclient=BaseClient("wss://mainnet.era.zksync.io/ws")client.subscribe(lambdatx,_,__:print(f"Pending tx:{tx}"))Send 1 ETH and 100 USDC to Unicef, using a dual client:fromweb3client.erc20_clientimportDualClientrpc="https://cloudflare-eth.com"private_key="0x..."unicef="0xA59B29d7dbC9794d1e7f45123C48b2b8d0a34636"USDC="0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"usdc_client=DualClient(rpc,private_key=private_key,contract_address=USDC)usdc_client.send_eth(unicef,1)usdc_client.transfer(unicef,100)More examplesPlease find more examplesin theexamples folder, andin thetests folder.Test suiteweb3testweb3clientcomes with several pytest plugins you can use to test your scripts:web3test-ape: fixtures of accounts and smart contracts (erc20, compound, etc)web3test-web3client: fixtures of clients for various smart contractsweb3test-web3factory: fixtures of clients for various chainsTo use one or more plugins in your script, add the following lines at the top of your `conftest.py``:pytest_plugins=["web3test-ape","web3test-web3client","web3test-web3factory"]The order of the plugins in the aray is important.It doesn't work 😡Don't panic! Instead...Please check if your issue is listed in theIssues tab.If not, considerwriting a new issue🙂ContributingAll contributions are welcome! To start improvingweb3client, please refer to ourcontribution guide.
Package: web3-constant
web3-constantInstallpip install web3-constantConnect to Web3fromweb3importWeb3fromweb3constant.Fantom.UrlimportFTM_RPCw3=Web3(Web3.HTTPProvider(FTM_RPC))ifw3.isConnected():print("Web3 is connected.")Listen to a topicfromweb3importWeb3fromweb3constant.Fantom.UrlimportFTM_RPCfromweb3constant.topicsimportPAIR_SYNCw3=Web3(Web3.HTTPProvider(FTM_RPC))prev_block_num=w3.eth.get_block_number()while(True):current_block=w3.eth.get_block_number()if(prev_block_num==current_block):continuetopic_d={'fromBlock':prev_block_num,'topics':[PAIR_SYNC]}logs=w3.eth.get_logs(topic_d)forlinlogs:print(l)Create contractfromweb3importWeb3fromweb3constant.Fantom.UrlimportFTM_RPCfromweb3constant.Fantom.DeximportSPOOKY_SWAP_FACTORY_ADDRESSfromweb3constant.abi.UniswapV2importSPOOKY_SWAP_FACTORY_ABI,UNISWAP_V2_PAIR_ABIw3=Web3(Web3.HTTPProvider(FTM_RPC))# create factory contractspooky_swap_factory_contract=w3.eth.contract(address=SPOOKY_SWAP_FACTORY_ADDRESS,abi=SPOOKY_SWAP_FACTORY_ABI)# get pair address for factory contractpair_address=spooky_swap_factory_contract.functions.allPairs(0).call()print("pair contract address:",pair_address)# create pair contractpair_contract=w3.eth.contract(address=pair_address,abi=UNISWAP_V2_PAIR_ABI)# get token0, token1token0=pair_contract.functions.token0().call()token1=pair_contract.functions.token1().call()# get reservesr0,r1,timestamp=pair_contract.functions.getReserves().call()# printprint("token0:",token0)print("token0 reserves:",r0)print("token1:",token1)print("token1 reserves:",r1)print("sync timestamp:",timestamp)
Package: web3data
web3data-py Python APIObtaining an API KeyVisitAmberdata.ioand select the developer plan to get started!
Pass your API key to the client instance, either has a hardcoded string, or through an environment
variable:fromweb3dataimportWeb3Dataw3d=Web3Data("<your key>")… and start querying!InstallationTo install web3data-py, run this command in your terminal:$pipinstallweb3dataFor alternative ways to install the package, check out theinstallation instructionsUsagefromweb3dataimportWeb3Dataw3d=Web3Data("<your key>")print(w3d.eth.address.information("0x06012c8cf97bead5deae237070f9587f8e7a266d"))This will print the raw response, such as:{'status':200,'title':'OK','description':'Successful request','payload':{'balance':'5296672643815245964','balanceIn':'3.0894905437937322715551e+22','balanceOut':'3.0889608765293507469587e+22','addressType':'contract','changeInPrice':None,'contractTypes':['ERC721'],'decimals':'0','name':'CryptoKitties','numHolders':'84753','numTokens':'1860119','numTransfers':'2723659','symbol':'CK','totalSupply':'1860119.0000000000000000','totalValueUSD':None,'unitValueUSD':None}}DevelopmentCheck out ourcontribution guidelinesto see how to install the development version and run the test suite!Don’t have the time to contribute? Open up an issue and we’ll get it fixed!
Simply like the project? Tip me someBATto sponsor development! :)ResourcesFree software: MIT licenseDocumentation:https://web3data-py.readthedocs.io.CreditsThe initial version of this package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.6 (2021-01-25)Add CSV format switch supportVarious dependency upgrades0.1.5 (2020-05-22)Include missing files in sdistUpdate pip to 20.1.1Update bumpversion to 0.6.0Update flake8 to 3.8.1Update pytest to 5.4.2Update requests-mock to 1.8.00.1.4 (2020-04-28)add support for RPC endpointsadd support for websocket endpointsadd examples for rpc and websocket callsupdate coverage to 5.1update sphinx to 3.0.30.1.3 (2020-03-16)update coverage from 4.5.4 to 5.0.3update flake8 from 3.7.8 to 3.7.9update pip from 19.2.3 to 20.0.2update pytest from 4.6.5 to 5.4.1update pytest-runner from 5.1 to 5.2update sphinx from 1.8.5 to 2.4.4update twine from 1.14.0 to 3.1.1update watchdog from 0.9.0 to 0.10.2update wheel from 0.33.6 to 0.34.20.1.1 + 0.1.2 (2020-03-15)Add minor documentation, markup, and package publishing fixes0.1.0 (2020-03-15)First release on PyPI0.0.1 (2020-03-13)First implementation for theAmberdata developer challenge
Package: web3-data-tools
web3-data-toolsInstallpipinstallweb3_data_toolsHow to usefromweb3_data_tools.coreimport*fromweb3_data_tools.web3import*w3=MultiRPCWeb3.from_rpcs('http://bad_rpc','http://good_rpc')interpolation_search(w3,1692548195)
Package: web3dex
WEB3Dex python libA flexible python library to interact with evm-like DEX.
WEB3Dex library provide a unified interface for SC based on uniswap-fork.
Based onweb3.Supported Dex in chainsAvalanceBscCronosEthereumFantomMoonbeamMoonriverPolygonGet it readypipinstallgit+https://github.com/0xfffangel/web3dex-python.gitHow to startPython script:fromweb3dex.ethereumimportUniswapuniswap=Uniswap()USDC="0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"print("reserves: ",uniswap.reserves(USDC))print("liquidity_in: ",uniswap.liquidity_in(USDC))print("liquidity_out: ",uniswap.liquidity_out(USDC))print("reserve_ratio:{:.18f}".format(uniswap.reserve_ratio(USDC)))print("price:{:.18f}".format(uniswap.price(USDC)))Result:reserves:[64985095.457761,32622.06165275629,1660409488]liquidity_in:64985095.457761
liquidity_out:32622.565503187332
reserve_ratio:0.0005019929788971377
price:0.000500486992281985How to swap themimportweb3dex# setup envuniswap=web3dex.ethereum.Uniswap()USDC="0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"wallet_address=""private_key=""amount=0.001# approve token for wallet_address if now allowanceifnotuniswap.check_approval(wallet_address,USDC):tx=uniswap.approve(token=USDC,wallet_address=wallet_address)signed_tx=uniswap.signTransaction(transaction=tx,private_key=private_key)tx_hash=uniswap.sendTransaction(signed_transaction=signed_tx)ifnotuniswap.waitTransaction(tx_hash):raiseException("TransactionExpection: "+tx_hash.hex())# swap from base to tokentx=uniswap.swapFromBaseToTokens(amount,USDC,wallet_address)signed_tx=uniswap.signTransaction(transaction=tx,private_key=private_key)tx_hash=uniswap.sendTransaction(signed_transaction=signed_tx)ifnotuniswap.waitTransaction(tx_hash):raiseException("TransactionExpection: "+tx_hash.hex())print(tx_hash)# get updated balancesprint("base balance{:.18f}".format(uniswap.balance(wallet_address)))print("USDC balance{:.18f}".format(uniswap.balance(wallet_address,USDC)))# swap from token to basetx=uniswap.swapFromTokensToBase(amount,USDC,wallet_address)signed_tx=uniswap.signTransaction(transaction=tx,private_key=private_key)tx_hash=uniswap.sendTransaction(signed_transaction=signed_tx)ifnotuniswap.waitTransaction(tx_hash):raiseException("TransactionExpection: "+tx_hash.hex())print(tx_hash)Open PR for new DexDefine a new Dex config json in the chain folder (ex foruniswap:web3dex/configs/ethereum/uniswap.json):{"PROVIDER":"https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161","FACTORY_ADDR":"0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f","ROUTER_ADDR":"0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D","FACTORY_ABI_FILE":"./abi/uniswapv2_factory_abi.json","ROUTER_ABI_FILE":"./abi/uniswapv2_router_abi.json","LIQUIDITY_ABI_FILE":"./abi/uniswapv2_liquidity_abi.json","BASE_SYMBOL":"ETH","BASE_CONTRACT":"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}Add new Dex object in the chain script (ex:web3dex/configs/ethereum.py):classUniswap(Dex):def__init__(self):super().__init__(configs+"/uniswap.json"))Add the class name into theallgroups to be listed:all=[...,Uniswap()]
Package: web3-eth
Web3.pyA Python library for interacting with Ethereum, inspired byweb3.js.Python 3.7.2+ supportQuickstartGet started in 5 minutesortake a tourof the library.DocumentationFor additional guides, examples, and APIs, see thedocumentation.Want to help?Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our
guidelines forcontributing,
then check out issues that are labeledGood First Issue.Questions on implementation or usage? Join the conversation ondiscord.
Package: web3fsnpy
web3fsnpyThe Python3 implementation of FUSION’s Web3 functionsAll installation instructions, description of functions and examples of usage are described on theweb3fsnpy readthedocs pageQuick startInstall some dependencies (you will need > python3.6) :-#> sudo apt install python3 python3-pip#> sudo pip3 install web3fsnpy  (or pip3 install web3fsnpy --user if you want to install a username only copy)You can find some example python programs athttps://github.com/FUSIONFoundation/web3fsnpy/tree/master/fusion_testsdesigned to demonstrate the API's functionality. These will be added to as new functions are developed.You will probably need to set the environmental variable FSN_PRIVATE_KEY to be able to use any write transaction methods.Get your private key from your Fusion wallet (click on 'View details') and then :-#> export FSN_PRIVATE_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXTo update (frequent updates available) just type :-#> sudo pip3 install --upgrade web3fsnpy  (or pip3 install --upgarde web3fsnpy --user)Developer setupFor a developer setup, you will likely need to install Ethereum's web3.py according to the instructions athttps://github.com/ethereum/web3.pyThen install web3fsnpy :-#> git clonehttps://github.com/FUSIONFoundation/web3fsnpy.gitThe dependencies are listed in the file requirements.txtNow you need to update the PYTHONPATH environmental variable to your .bashrc file assuming that you are in the folder web3fsnpy :-#> echo "export PYTHONPATH=$PWD:$PWD/web3fsnpy:$PYTHONPATH">>~/.bashrcNow restart your shell to activate the PYTHONPATH. You can now try some of the scripts in the folder fusion_tests to make sure that it is working.It is best practice to operate within a virtualenv when modifying code, so as to isolate dependency issues.Bugs and enhancementsPlease report bugs or suggest enhancements by creating a git pull request tohttps://github.com/FUSIONFoundation/web3fsnpy
Package: web3-gear
Web3-gearProxyThor's RESTful API to Eth JSON-RPC, to support Remix, Truffle and more (You should give priority to using Thor's RESTful API).Working withThor Builtinswill make Web3-Gear more usable.Quick StartInstallationOn OS XPython 3.7+ supportInstall the system-dependeciesbrew install openssl
export CFLAGS="-I$(brew --prefix openssl)/include $CFLAGS"
export LDFLAGS="-L$(brew --prefix openssl)/lib $LDFLAGS"Installation of Web3-Gear and it's dependent Python packages via PyPIpip3 install web3-gearOn UbuntuPython 3.7+ supportInstall the system-dependeciessudo apt-get install build-essential libssl-dev python-devUse a virtual environment to isolate your web3-gear projectpython3 -m venv thor-venv
source thor-venv/bin/activateInstallation of Web3-Gear and it's dependent Python packages via PyPIpip3 install web3-gearNote that you can activate and deactivate your virtual environment nowsource thor-venv/bin/activate
deactivateSeehttps://docs.python.org/3/library/venv.htmlfor more informationOn WindowsPython 3.7+ supportInstall Visual C++ Build Tools.Installscrypt-pyuse the precompiled wheels.Installation of Web3-Gear and it's dependent Python packages via PyPIpip3 install web3-gearRunInstalling through pip will make theweb3-gearcommand available on your machine (a runningthorclient is required)web3-gearThis will run web3-gear on127.0.0.1:8545.You can change its default behavior with the following parameters:host: rpc service host, eg:--host 127.0.0.1port: rpc service port, eg:--port 8545endpoint: thor restful service endpoint, eg:--endpoint http://127.0.0.1:8669keystore: keystore file path, eg:--keystore /Users/(username)/keystore), default=thor stand-alone(solo) built-in accountspasscode: passcode of keystore, eg:--passcode xxxxxxxxdebug: bool default=false, whether to display debug logs, eg:--debug truelog: bool default=false, whether to display rpc logs, eg:--log falseWork with RemixChange the Remix environment to Web3 provide.Work with TruffleTruffle 4.0.6+ supportModify the configuration of truffle first(truffle.js):module.exports={networks:{development:{host:"localhost",port:8545,network_id:"*"// Match any network id}}};Then you can use truffle's command line tool.There are some projects based on truffle, can use them for testing:Crowdsale Contracts.Token Distribution.Solidity Idiosyncrasies.