https://github.com/refcell/soline
Load, Write, Deploy Solidity in the context of a Smart Contract
https://github.com/refcell/soline
bytecode evm foundry solidity
Last synced: 9 months ago
JSON representation
Load, Write, Deploy Solidity in the context of a Smart Contract
- Host: GitHub
- URL: https://github.com/refcell/soline
- Owner: refcell
- License: agpl-3.0
- Created: 2022-01-08T15:46:06.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-09T16:03:54.000Z (about 4 years ago)
- Last Synced: 2025-05-07T03:01:56.686Z (9 months ago)
- Topics: bytecode, evm, foundry, solidity
- Language: Solidity
- Homepage:
- Size: 27.3 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# soline • [](https://github.com/abigger87/soline/actions/workflows/tests.yml) [](https://github.com/abigger87/soline/actions/workflows/lints.yml)  
**Load**, **Write**, **Deploy** Solidity in the Context of a Smart Contract.
## Blueprint
```ml
lib
├─ ds-test
├─ solmate
src
├─ tests
│ ├─ utils
│ │ └─ DSTestPlus — "Custom, Extended DSTest Suite"
│ ├─ Starter.t — "Starter Contract Tests"
│ └─ Proxy.t — "Proxy Tests"
├─ Starter — "A Minimal Starter Contract"
└─ Proxy — "A Proxy Contract to Orchestrate Deployment"
```
## Development
### First time with Forge/Foundry?
Don't have [rust](https://www.rust-lang.org/tools/install) installed?
Run
```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
Then, install [foundry](https://github.com/gakonst/foundry) with:
```bash
cargo install --git https://github.com/gakonst/foundry --bin forge --locked
```
### Dependencies
```bash
yarn setup
```
### Run Tests
```bash
yarn test
```
## License
[AGPL-3.0-only](https://github.com/abigger87/soline/blob/master/LICENSE)
# Acknowledgements
- [evm.codes](https://evm.codes)
- [foundry](https://github.com/gakonst/foundry)
- [solmate](https://github.com/Rari-Capital/solmate)
- [Georgios Konstantopoulos](https://github.com/gakonst) for [forge-template](https://github.com/gakonst/forge-template) resource.
## Disclaimer
_These smart contracts are being provided as is. No guarantee, representation or warranty is being made, express or implied, as to the safety or correctness of the user interface or the smart contracts. They have not been audited and as such there can be no assurance they will work as intended, and users may experience delays, failures, errors, omissions, loss of transmitted information or loss of funds. Andreas Bigger is not liable for any of the foregoing. Users should proceed with caution and use at their own risk._