Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patractlabs/redspot
Redspot is an Substrate pallet-contracts (ink!) development environment. Compile your contracts and run them on a different networks. Redspot's core forks from Hardhat but changed a lot to suit substrate.
https://github.com/patractlabs/redspot
Last synced: about 1 month ago
JSON representation
Redspot is an Substrate pallet-contracts (ink!) development environment. Compile your contracts and run them on a different networks. Redspot's core forks from Hardhat but changed a lot to suit substrate.
- Host: GitHub
- URL: https://github.com/patractlabs/redspot
- Owner: patractlabs
- License: other
- Created: 2020-09-20T09:58:10.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-09T05:09:04.000Z (over 2 years ago)
- Last Synced: 2024-01-25T04:52:35.107Z (11 months ago)
- Language: TypeScript
- Homepage: https://redspot.patract.io/
- Size: 39.5 MB
- Stars: 66
- Watchers: 9
- Forks: 22
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-substrate - Redspot - A [Truffle](https://www.trufflesuite.com/truffle)-like toolkit for smart contracts for the FRAME Contracts pallet and ink!. (Tools)
- awesome-substrate - Redspot - A [Truffle](https://www.trufflesuite.com/truffle)-like toolkit for smart contracts for the FRAME Contracts pallet and ink!. (Tools)
README
# Redspot
---
Redspot is named after Jupiter's Great Red Spot, which is also the largest DOT in the solar system. Redspot's target project is [Truffle](https://github.com/trufflesuite/truffle) in Truffle Suite. Redspot is a development environment, testing framework and asset pipeline for `pallet-contracts`. Redspot is trying to let the development of ink! be projectized and simplify the testing and interacting with contracts.
We think Redspot needs to be a flexible system for the reason that `pallet-contracts` would be integrated to any substrate chain with some partial modification. Thus we decide using [hardhat](https://github.com/nomiclabs/hardhat) as Redspot core architecture for it has an outstanding design to allow developer using plugins to add new features.
Therefore, we establish our project on the hardhat core framework and modify it a lot to suit substrate under MIT licence. In future, Redspot would build more features based on this forked hardhat core.
This project is used for contracts developer, if developers want to deploy and test on a blockchain, we advice developer to use "jupiter" blockchain, which is a open testnet for substrate pallet-contracts. Better than that, jupiter also provide a develop type node, that could very easily for testing contracts.
Please refer to this for more information: https://github.com/patractlabs/jupiter
Riot group for disscusion: https://app.element.io/#/room/#PatractLabsDev:matrix.org
_NOTICE!_
*redpot has an old version repo using for MVP(Minimum Viable Product), but now is archived and is not maintained any more. Refer to this repo [redspot-v0.1](https://github.com/patractlabs/redspot-v0.1)*## Documentation
[https://docs.patract.io/en/redspot/introduction](https://docs.patract.io/en/redspot/introduction)
> Chinese: [https://docs.patract.io/redspot/introduction.html](https://docs.patract.io/redspot/introduction.html)
## How to run examples
0. The node version should be 14
1. First you need to install the dependencies in the redspot root directory `yarn`
2. Compile the code `yarn build`
3. Go to the examples directory, e.g. `cd examples/erc20`
4. Install the dependencies in the current directory `yarn`
5. In the `examples/erc20` directory, you can invoke the redspot commands normally. For example: `npx redspot compile`## License
This project is forked from [hardhat](https://github.com/nomiclabs/hardhat), and just base on the `hardhat-core` part then modify it under MIT license. (not include Hardhat Network, "sample-project/" and others which is under NOMIC LABS DEVELOPER LICENSE AGREEMENT and Unlicense, more details refer to [hardhat LICENSE](https://github.com/nomiclabs/hardhat/blob/master/packages/hardhat-core/LICENSE))
And Redspot would also be distributed under MIT license.
## Thanks
[hardhat](https://github.com/nomiclabs/hardhat) - Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log.