Comments (7)
@chenzhitong Can you look into it?
from neo.
I actually have this working on macOS, the problem is that the different NEO projects have net461
(besides netstandard1.6 and sometimes netcoreapp1.0) as TargetFramework
and this doesn't work on macOS. For building on the command-line, you can specify -t netstandard1.6
and the projects build. For getting it to work in Visual Studio on Mac you need to remove net461
from the project files.
from neo.
@aljoscha Thanks for the answer, now the problem is I can't convert compiled dll to avm for deployment. On Windows this is handled by the plugin, but I couldn't find it for macOS
from neo.
I uploaded the changes to make Neo.Sandbox work on macOS on my fork: https://github.com/aljoscha/Neo.Sandbox. You can look at https://github.com/aljoscha/Neo.Sandbox/blob/master/src/Testbox/Test_HelloWorld.cs and https://github.com/aljoscha/Neo.Sandbox/blob/master/src/Testbox/Utilities/ExecutionHelper.cs. There you see how a dll is converted to AVM and also how it's executed for testing.
from neo.
Is there any guide for developing smart contracts using Kotlin on macOS?
from neo.
@Sajjon I used macOS to develop the contracts for my dApp in Kotlin. You could strip out my code and work from it as a starting point: https://github.com/notatestuser/chainline-contracts-kt
from neo.
I just went through the city of Zion https://www.youtube.com/watch?v=2EYK1ogr5i4 guide a few times and keep getting this build error,
Bens-MBP:target ben$ dotnet /Users/ben/neo-compiler/neoj/bin/Release/netcoreapp1.1/neoj.dll /Users/ben/Downloads/neoj_osx/HelloWorld.class
Neo.Compiler.JVM console app v2.0.3.0
Convert Error:System.IO.FileNotFoundException: Could not find file '/Users/ben/Downloads/neoj_osx/HelloWorld.class'.
I notice that when the video calls the command -
dotnet /Users/ben/neo-compiler/neoj/bin/Release/netcoreapp1.1/neoj.dll /Users/ben/Downloads/neoj_osx/HelloWorld.class
the error message which is inputed later diverges from my message it comes out as /usr/local/share/dotnet/org.neo.smartcontract.framework.jar
Im going round and round with this and can't seem to get it converting, any thoughts appreciated?
from neo.
Related Issues (20)
- Discuss if OOP and a standard SDK interface can be used to improve the developer experience
- Problems running current master version HOT 4
- Load and export storage to json HOT 5
- Add Support to .NET 8 HOT 4
- `neo-cli` No Screen Rendering on Invalid Arguments. HOT 2
- Change Wallet Encryption `CypherMode` HOT 4
- Problems running current master version HOT 4
- Optimize OnPersist HOT 14
- Make public `GetCommitteeAddress`
- Abolish master branch name - migrate to main HOT 2
- Coverage for BLS still looks like to be wrong HOT 4
- Improve how to estimate what to pay for Oracle requests/callbacks HOT 7
- What would happen if the number of Committee nodes is increased from 21 to 23? HOT 11
- Add NNS support to native contracts HOT 2
- How can I create an Account from a WIF? HOT 8
- Allow fees to be reduced to less than 1
- Allow Wallets / Accounts to be created using less parameters HOT 4
- Release a working version of Neo CLI for macOS HOT 8
- WitnessRules limitation on Ledger HOT 4
- Too much warnings on every PR "Unchanged files with check annotations (beta)"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neo.