All Projects → hyperledger-labs → Solang

hyperledger-labs / Solang

Licence: apache-2.0
A Solidity to wasm and bpf compiler written in rust

Programming Languages

rust
11053 projects
solidity
1140 projects

Projects that are alternatives of or similar to Solang

crowdsale-smart-contract
No description or website provided.
Stars: ✭ 39 (-83.19%)
Mutual labels:  solidity-contracts
Augmint Web
Augmint Web Frontend
Stars: ✭ 15 (-93.53%)
Mutual labels:  solidity-contracts
Udacity Blockchain Developer Nanodegree
The road so far on Udacity Blockchain Developer Nanodegree
Stars: ✭ 53 (-77.16%)
Mutual labels:  solidity-contracts
Smart-Contract-Security-Audits
Certified Smart Contract Audits (Ethereum, Hyperledger, xDAI, Huobi ECO Chain, Binance Smart Chain, Fantom, EOS, Tezos) by Chainsulting
Stars: ✭ 325 (+40.09%)
Mutual labels:  solidity-contracts
Colonynetwork
Colony Network smart contracts
Stars: ✭ 351 (+51.29%)
Mutual labels:  solidity-contracts
Grpc Contract
A tool to generate the grpc server code for a contract
Stars: ✭ 40 (-82.76%)
Mutual labels:  solidity-contracts
solidity-node-docker-starter
Starter project for developing Ethereum smart contracts with Solidity, Truffle and Node.js as a backend server.
Stars: ✭ 57 (-75.43%)
Mutual labels:  solidity-contracts
Awesome Solidity
⟠ A curated list of awesome Solidity resources, libraries, tools and more
Stars: ✭ 3,078 (+1226.72%)
Mutual labels:  solidity-contracts
Vscode Solidity
Visual Studio Code language support extension for Solidity smart contracts in Ethereum
Stars: ✭ 373 (+60.78%)
Mutual labels:  solidity-contracts
Solidity
🔐 Ethereum smart contracts developed for the Hanzo Platform.
Stars: ✭ 46 (-80.17%)
Mutual labels:  solidity-contracts
BokkyPooBahsTokenTeleportationServiceSmartContract
BokkyPooBah's Token Teleportation Service Smart Contract
Stars: ✭ 73 (-68.53%)
Mutual labels:  solidity-contracts
Eth Dev Reading List
A list of links to articles, tutorials and papers that are helpful for people developing on the ethereum stack
Stars: ✭ 280 (+20.69%)
Mutual labels:  solidity-contracts
Sol2proto
Ethereum contract ABI to gRPC protobuf IDL transpiler
Stars: ✭ 41 (-82.33%)
Mutual labels:  solidity-contracts
Decentralized eCom
A decentralized e-commerce platform! Tech Stack: Ethereum (Solidity) on the backend, Web3 binding to ReactJS frontend!
Stars: ✭ 82 (-64.66%)
Mutual labels:  solidity-contracts
Smart Contracts
Ethereum smart contracts for security and utility tokens
Stars: ✭ 1,187 (+411.64%)
Mutual labels:  solidity-contracts
bitdegree-token-crowdsale
Token Website
Stars: ✭ 26 (-88.79%)
Mutual labels:  solidity-contracts
Plasma Cash Contracts
Stars: ✭ 29 (-87.5%)
Mutual labels:  solidity-contracts
Ethereum Studio
Official Ethereum Studio project repository. And IDE specially tailored to make it as simple as possible to onboard new users into the Ethereum ecosystem
Stars: ✭ 144 (-37.93%)
Mutual labels:  solidity-contracts
Seriality
Seriality is a library for serializing and de-serializing all the Solidity types in a very efficient way which mostly written in solidity-assembly
Stars: ✭ 105 (-54.74%)
Mutual labels:  solidity-contracts
Learn Solidity
Code base for "Learn Solidity: Programming Language for Ethereum Smart Contracts" course in Tosh Academy & Blockchain Council
Stars: ✭ 44 (-81.03%)
Mutual labels:  solidity-contracts

solang - A Solidity to wasm compiler written in rust

Rocket.Chat CI Documentation Status license LoC

Funded by the web3 foundation

Welcome to Solang, a new Solidity compiler written in rust which uses llvm as the compiler backend. As a result, only the compiler front end needs to be written in rust.

Solang targets Substrate, Solana, ewasm, and Sawtooth. Solang is source compatible with Solidity 0.7, with some caveats due to differences in the underlying blockchain.

Solang is under active development right now, and has extensive documentation.

Simple example

First build Solang or use the docker image, then write the following to flipper.sol:

contract flipper {
	bool private value;

	constructor(bool initvalue) public {
		value = initvalue;
	}

	function flip() public {
		value = !value;
	}

	function get() public view returns (bool) {
		return value;
	}
}

Now run:

solang --target substrate flipper.sol

Alternatively if you want to use the solang docker image, run:

docker run --rm -it -v $(pwd):/sources hyperledgerlabs/solang -v -o /sources  --target substrate /sources/flipper.sol

You will have a file called flipper.contact. You can use this directly in the Polkadot UI, as if your smart contract was written using ink!.

License

Apache 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].